diff options
| author | Daniel Rodriguez <[email protected]> | 2026-01-21 18:46:41 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-21 18:46:41 -0600 |
| commit | 6d574549bcd6f0b210ba4e7a0c08d3f03f30795c (patch) | |
| tree | 964e002306341c7851623f3558dbc1d27b9221ec | |
| parent | f7c5b62ba38a9f41cd0afc861c79e28703c12517 (diff) | |
| download | opencode-6d574549bcd6f0b210ba4e7a0c08d3f03f30795c.tar.gz opencode-6d574549bcd6f0b210ba4e7a0c08d3f03f30795c.zip | |
fix: include _noop tool in activeTools for LiteLLM proxy compatibility (#9912)
| -rw-r--r-- | packages/opencode/src/session/llm.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/session/llm.ts b/packages/opencode/src/session/llm.ts index e73f20403..55c9c4524 100644 --- a/packages/opencode/src/session/llm.ts +++ b/packages/opencode/src/session/llm.ts @@ -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, |
