fix: litellm error tool= param must be specified

pull/3486/head
Aiden Cline 2025-10-27 14:03:30 -05:00
parent a606e1d2ec
commit 0af4505756
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ export namespace SessionCompaction {
error,
})
},
tools: model.info.tool_call ? {} : undefined,
messages: [
...system.map(
(x): ModelMessage => ({