This commit is contained in:
lloydzhou 2024-09-03 19:35:36 +08:00
parent c7bc93b32b
commit 0a5522d28c
1 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,8 @@ export class ClaudeApi implements LLMApi {
toolCallMessage: any,
toolCallResult: any[],
) => {
// reset index value
index = -1;
// @ts-ignore
requestPayload?.messages?.splice(
// @ts-ignore