fix: add claude-3-5-sonnet-latest support #247
This commit is contained in:
parent
73c2945961
commit
6f9eb2ae75
@ -381,13 +381,13 @@ export const SYSTEM_MODELS: Record<string, Model[]> = {
|
|||||||
],
|
],
|
||||||
anthropic: [
|
anthropic: [
|
||||||
{
|
{
|
||||||
id: 'claude-3-5-sonnet-20240620',
|
id: 'claude-3-5-sonnet-latest',
|
||||||
provider: 'anthropic',
|
provider: 'anthropic',
|
||||||
name: 'Claude 3.5 Sonnet',
|
name: 'Claude 3.5 Sonnet',
|
||||||
group: 'Claude 3.5'
|
group: 'Claude 3.5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'claude-3-opus-20240229',
|
id: 'claude-3-opus-latest',
|
||||||
provider: 'anthropic',
|
provider: 'anthropic',
|
||||||
name: 'Claude 3 Opus',
|
name: 'Claude 3 Opus',
|
||||||
group: 'Claude 3'
|
group: 'Claude 3'
|
||||||
|
|||||||
@ -166,7 +166,7 @@ const Inputbar: FC<Props> = ({ assistant, setActiveTopic }) => {
|
|||||||
const textArea = textareaRef.current?.resizableTextArea?.textArea
|
const textArea = textareaRef.current?.resizableTextArea?.textArea
|
||||||
if (textArea) {
|
if (textArea) {
|
||||||
textArea.style.height = 'auto'
|
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`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user