From d3e5c196f9a08afb35c3f2e0b99b8bc90bebf1e0 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Thu, 23 Oct 2025 00:36:22 -0700 Subject: [PATCH] LLMs: remove vendorspec from the params editor --- src/modules/llms/models-modal/LLMOptionsGlobal.tsx | 1 - src/modules/llms/models-modal/LLMParametersEditor.tsx | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/modules/llms/models-modal/LLMOptionsGlobal.tsx b/src/modules/llms/models-modal/LLMOptionsGlobal.tsx index c352308d9..37aebc44e 100644 --- a/src/modules/llms/models-modal/LLMOptionsGlobal.tsx +++ b/src/modules/llms/models-modal/LLMOptionsGlobal.tsx @@ -31,7 +31,6 @@ export function LLMOptionsGlobal(props: { llm: DLLM }) { return ( [], parameterOmitTemperature?: boolean, baselineParameters: DModelParameterValues, @@ -201,11 +200,6 @@ export function LLMParametersEditor(props: { return paramId in modelParamSpec && !modelParamSpec[paramId].hidden; } - /** discouraged: only used where we know a vendor supports a parameter on EACH model - and does NOT add the parameter Spec (dangerous) */ - function showAllParamsFromVendor(vendorId: ModelVendorId): boolean { - return props.vendorSpec === vendorId; - } - const temperatureHide = showParam('llmVndAntThinkingBudget'); const antThinkingOff = llmVndAntThinkingBudget === null; const gemThinkingAuto = llmVndGeminiThinkingBudget === undefined;