mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: litellm error tool= param must be specified
This commit is contained in:
parent
a606e1d2ec
commit
0af4505756
1 changed files with 1 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ export namespace SessionCompaction {
|
|||
error,
|
||||
})
|
||||
},
|
||||
tools: model.info.tool_call ? {} : undefined,
|
||||
messages: [
|
||||
...system.map(
|
||||
(x): ModelMessage => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue