Merge pull request #519 from yslinear/hotfix
feat(anthropic): update chat models to include Claude 3.5 Haiku and new version for Sonnet
This commit is contained in:
commit
ea74e3013c
|
@ -9,12 +9,20 @@ export const loadAnthropicChatModels = async () => {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const chatModels = {
|
const chatModels = {
|
||||||
'claude-3-5-sonnet-20240620': {
|
'claude-3-5-sonnet-20241022': {
|
||||||
displayName: 'Claude 3.5 Sonnet',
|
displayName: 'Claude 3.5 Sonnet',
|
||||||
model: new ChatAnthropic({
|
model: new ChatAnthropic({
|
||||||
temperature: 0.7,
|
temperature: 0.7,
|
||||||
anthropicApiKey: anthropicApiKey,
|
anthropicApiKey: anthropicApiKey,
|
||||||
model: 'claude-3-5-sonnet-20240620',
|
model: 'claude-3-5-sonnet-20241022',
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
'claude-3-5-haiku-20241022': {
|
||||||
|
displayName: 'Claude 3.5 Haiku',
|
||||||
|
model: new ChatAnthropic({
|
||||||
|
temperature: 0.7,
|
||||||
|
anthropicApiKey: anthropicApiKey,
|
||||||
|
model: 'claude-3-5-haiku-20241022',
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
'claude-3-opus-20240229': {
|
'claude-3-opus-20240229': {
|
||||||
|
|
Loading…
Reference in New Issue