mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
LLMs: Ant Skills: show by default nwo
This commit is contained in:
@@ -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} />
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user