mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-27 12:51:26 +08:00
fix: AI_TypeValidationError when calling Ling-1T model (#10622)
This commit is contained in:
parent
f8fadcc73f
commit
45f033ff4e
@ -41,7 +41,7 @@ export class StreamHandler {
|
||||
this.usage.total_tokens += completionChunk.usage.total_tokens || 0
|
||||
}
|
||||
context = chunk.choices
|
||||
.map((choice) => {
|
||||
?.map((choice) => {
|
||||
if (!choice.delta) {
|
||||
return ''
|
||||
} else if ('reasoning_content' in choice.delta) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user