LLMs: remove vendorspec from the params editor

This commit is contained in:
Enrico Ros
2025-10-23 00:36:22 -07:00
parent 71978b94f2
commit d3e5c196f9
2 changed files with 0 additions and 7 deletions
@@ -31,7 +31,6 @@ export function LLMOptionsGlobal(props: { llm: DLLM }) {
return (
<LLMParametersEditor
maxOutputTokens={getLLMMaxOutputTokens(llm) ?? null}
vendorSpec={llm.vId}
parameterSpecs={llm.parameterSpecs}
parameterOmitTemperature={llm.interfaces.includes(LLM_IF_HOTFIX_NoTemperature)}
baselineParameters={llm.initialParameters}
@@ -119,7 +119,6 @@ const _xaiDateFilterOptions = [
export function LLMParametersEditor(props: {
// constants
maxOutputTokens: DLLMMaxOutputTokens,
vendorSpec: ModelVendorId,
parameterSpecs: DModelParameterSpec<DModelParameterId>[],
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;