diff --git a/src/renderer/src/config/models.ts b/src/renderer/src/config/models.ts index 2467ac2b..198060c1 100644 --- a/src/renderer/src/config/models.ts +++ b/src/renderer/src/config/models.ts @@ -381,13 +381,13 @@ export const SYSTEM_MODELS: Record = { ], anthropic: [ { - id: 'claude-3-5-sonnet-20240620', + id: 'claude-3-5-sonnet-latest', provider: 'anthropic', name: 'Claude 3.5 Sonnet', group: 'Claude 3.5' }, { - id: 'claude-3-opus-20240229', + id: 'claude-3-opus-latest', provider: 'anthropic', name: 'Claude 3 Opus', group: 'Claude 3' diff --git a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx index b551c3c7..252898fe 100644 --- a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx +++ b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx @@ -166,7 +166,7 @@ const Inputbar: FC = ({ assistant, setActiveTopic }) => { const textArea = textareaRef.current?.resizableTextArea?.textArea if (textArea) { textArea.style.height = 'auto' - textArea.style.height = textArea?.scrollHeight > 400 ? '400px' : `${textArea?.scrollHeight}px` + textArea.style.height = textArea?.scrollHeight > 400 ? '400px' : `${textArea?.scrollHeight + 2}px` } }