perf: supplement assistant empty response (#3669)

* perf: supplement assistant empty response

* check array
This commit is contained in:
Archer
2025-01-27 21:19:03 +08:00
committed by archer
parent c3d55d5c8f
commit 9e0379382f
3 changed files with 309 additions and 204 deletions

View File

@@ -272,7 +272,7 @@ export const runToolWithToolChoice = async (
},
toolModel
);
// console.log(JSON.stringify(requestBody, null, 2), '==requestBody');
// console.log(JSON.stringify(requestMessages, null, 2), '==requestBody');
/* Run llm */
const {
response: aiResponse,