fix: include _noop tool in activeTools for LiteLLM proxy compatibility (#9912)
This commit is contained in:
@@ -208,7 +208,7 @@ export namespace LLM {
|
|||||||
topP: params.topP,
|
topP: params.topP,
|
||||||
topK: params.topK,
|
topK: params.topK,
|
||||||
providerOptions: ProviderTransform.providerOptions(input.model, params.options),
|
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,
|
tools,
|
||||||
maxOutputTokens,
|
maxOutputTokens,
|
||||||
abortSignal: input.abort,
|
abortSignal: input.abort,
|
||||||
|
|||||||
Reference in New Issue
Block a user