fix: litellm error tool= param must be specified

This commit is contained in:
Aiden Cline
2025-10-27 14:03:30 -05:00
parent a606e1d2ec
commit 0af4505756

View File

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