This commit is contained in:
博凡
2025-08-23 20:52:18 +08:00
parent 409cef0c1d
commit d8f1962ae7

View File

@@ -1251,8 +1251,6 @@ export class OpenAIContentGenerator implements ContentGenerator {
if (choice.delta?.content) { if (choice.delta?.content) {
if (typeof choice.delta.content === 'string') { if (typeof choice.delta.content === 'string') {
parts.push({ text: choice.delta.content }); parts.push({ text: choice.delta.content });
} else {
parts.push({ text: choice.delta.content });
} }
} }