forked from 77media/video-flow
update the user_id type
This commit is contained in:
parent
cf5d86c840
commit
763dc9d3ab
@ -505,7 +505,7 @@ export async function sendMessage(
|
||||
session_id: `project_${config.projectId}_user_${config.userId}`,
|
||||
user_input: textBlocks.map(b => (b as { text: string }).text).join("\n"),
|
||||
project_id: config.projectId,
|
||||
user_id: config.userId,
|
||||
user_id: config.userId.toString(),
|
||||
};
|
||||
|
||||
// 如果有图片,添加第一张图片的URL
|
||||
|
||||
@ -55,7 +55,7 @@ export interface SendMessageRequest {
|
||||
user_input: string;
|
||||
image_url?: string;
|
||||
project_id: string;
|
||||
user_id: number;
|
||||
user_id: string;
|
||||
}
|
||||
|
||||
export interface ApiResponse<T> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user