LLMs: Ant Skills: show by default nwo

This commit is contained in:
Enrico Ros
2026-04-16 14:14:35 -07:00
parent 6610211eac
commit 28367547fd
2 changed files with 4 additions and 9 deletions
@@ -7,10 +7,10 @@ import { FormLabelStart } from '~/common/components/forms/FormLabelStart';
// [EDITORIAL] Anthropic Default Skills
const DEFAULT_SKILLS = [
{ id: 'xlsx', label: 'Excel' },
{ id: 'pptx', label: 'PPT' },
{ id: 'pdf', label: 'PDF' },
{ id: 'pptx', label: 'PPT' },
{ id: 'docx', label: 'Word' },
{ id: 'xlsx', label: 'Excel' },
] as const;
@@ -33,7 +33,7 @@ export function AnthropicSkillsConfig({ smaller, llmVndAntSkills, onChangeParame
};
return (
<FormControl orientation='horizontal' sx={{ flexWrap: smaller ? 'nowrap' : 'wrap', justifyContent: 'space-between', alignItems: 'center', gap: 2, width: '100%' }}>
<FormControl size={smaller ? 'sm' : undefined} orientation='horizontal' sx={{ flexWrap: smaller ? 'nowrap' : 'wrap', justifyContent: 'space-between', alignItems: 'center', gap: 1, width: '100%' }}>
<FormLabelStart
title={smaller ? 'Skills' : 'Anthropic Skills (Alpha)'}
description={smaller ? undefined : 'Server-side'}
@@ -13,7 +13,6 @@ import { FormSliderControl } from '~/common/components/forms/FormSliderControl';
import { FormSwitchControl } from '~/common/components/forms/FormSwitchControl';
import { FormTextField } from '~/common/components/forms/FormTextField';
import { InlineError } from '~/common/components/InlineError';
import { useUIComplexityMode } from '~/common/stores/store-ui';
import { webGeolocationRequest } from '~/common/util/webGeolocationUtils';
import { AnthropicSkillsConfig } from './AnthropicSkillsConfig';
@@ -209,10 +208,6 @@ export function LLMParametersEditor(props: {
simplified?: boolean,
}) {
// external state
const isExtra = useUIComplexityMode() === 'extra';
// registry (const) values
const defAntTB = DModelParameterRegistry['llmVndAntThinkingBudget'];
const defGemTB = DModelParameterRegistry['llmVndGeminiThinkingBudget'];
@@ -572,7 +567,7 @@ export function LLMParametersEditor(props: {
/>
)}
{isExtra && showParam('llmVndAntSkills') && (
{showParam('llmVndAntSkills') && (
<AnthropicSkillsConfig llmVndAntSkills={llmVndAntSkills} onChangeParameter={onChangeParameter} onRemoveParameter={onRemoveParameter} />
)}