Skip to content

Commit 6d57454

Browse files
authored
fix: include _noop tool in activeTools for LiteLLM proxy compatibility (#9912)
1 parent f7c5b62 commit 6d57454

File tree

1 file changed

+1
-1
lines changed
  • packages/opencode/src/session

1 file changed

+1
-1
lines changed

packages/opencode/src/session/llm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export namespace LLM {
208208
topP: params.topP,
209209
topK: params.topK,
210210
providerOptions: ProviderTransform.providerOptions(input.model, params.options),
211-
activeTools: Object.keys(tools).filter((x) => x !== "invalid" && x !== "_noop"),
211+
activeTools: Object.keys(tools).filter((x) => x !== "invalid"),
212212
tools,
213213
maxOutputTokens,
214214
abortSignal: input.abort,

0 commit comments

Comments
 (0)