mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 01:07:46 +00:00
tmp
This commit is contained in:
@@ -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 });
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user