fix: stream模式下function_all参数问题

This commit is contained in:
ikechan8370 2023-07-09 22:12:45 +08:00
parent b35a2a9999
commit db24de9ae3
2 changed files with 2 additions and 2 deletions

View file

@ -225,7 +225,7 @@ var ChatGPTAPI = /** @class */ (function () {
};
}
else {
result.functionCall.arguments = result.functionCall.arguments || '' + delta.function_call.arguments;
result.functionCall.arguments = (result.functionCall.arguments || '') + delta.function_call.arguments;
}
}
else {