mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 08:21:50 +00:00
fix: include _noop tool in activeTools for LiteLLM proxy compatibility (#9912)
This commit is contained in:
parent
f7c5b62ba3
commit
6d574549bc
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ export namespace LLM {
|
|||
topP: params.topP,
|
||||
topK: params.topK,
|
||||
providerOptions: ProviderTransform.providerOptions(input.model, params.options),
|
||||
activeTools: Object.keys(tools).filter((x) => x !== "invalid" && x !== "_noop"),
|
||||
activeTools: Object.keys(tools).filter((x) => x !== "invalid"),
|
||||
tools,
|
||||
maxOutputTokens,
|
||||
abortSignal: input.abort,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue