feat: 更新AI教练服务,支持处理多个图片URL,优化饮食分析逻辑。调整相关DTO以支持数组格式的图片URL,并修改默认视觉模型为'qwen-vl-max'。
This commit is contained in:
@@ -42,7 +42,7 @@ export class AiCoachController {
|
||||
userId,
|
||||
conversationId,
|
||||
userContent,
|
||||
imageUrl: body.imageUrl,
|
||||
imageUrls: body.imageUrls,
|
||||
});
|
||||
let text = '';
|
||||
for await (const chunk of readable) {
|
||||
@@ -62,7 +62,7 @@ export class AiCoachController {
|
||||
userId,
|
||||
conversationId,
|
||||
userContent,
|
||||
imageUrl: body.imageUrl,
|
||||
imageUrls: body.imageUrls,
|
||||
});
|
||||
|
||||
readable.on('data', (chunk) => {
|
||||
|
||||
Reference in New Issue
Block a user