feat: aws claude 4 && fix: module lore sort properly (#865)
# PR Checklist - [ ] Have you checked if it works normally in all models? *Ignore this if it doesn't use models.* - [ ] Have you checked if it works normally in all web, local, and node hosted versions? If it doesn't, have you blocked it in those versions? - [ ] Have you added type definitions? # Description In my previous PR #822 there's an issue where the module lore sort was not saving properly. I believe this PR will fix that. I appreciate your time.
This commit is contained in:
@@ -824,6 +824,34 @@ export const LLMModels: LLMModel[] = [
|
||||
parameters: ClaudeParameters,
|
||||
tokenizer: LLMTokenizer.Claude
|
||||
},
|
||||
{
|
||||
name: 'Claude 4 Opus (20250514) v1',
|
||||
id: 'anthropic.claude-opus-4-20250514-v1:0',
|
||||
provider: LLMProvider.AWS,
|
||||
format: LLMFormat.AWSBedrockClaude,
|
||||
flags: [
|
||||
LLMFlags.hasPrefill,
|
||||
LLMFlags.hasImageInput,
|
||||
LLMFlags.hasFirstSystemPrompt,
|
||||
LLMFlags.claudeThinking
|
||||
],
|
||||
parameters: [...ClaudeParameters, 'thinking_tokens'],
|
||||
tokenizer: LLMTokenizer.Claude
|
||||
},
|
||||
{
|
||||
name: 'Claude 4 Sonnet (20250514) v1',
|
||||
id: 'anthropic.claude-sonnet-4-20250514-v1:0',
|
||||
provider: LLMProvider.AWS,
|
||||
format: LLMFormat.AWSBedrockClaude,
|
||||
flags: [
|
||||
LLMFlags.hasPrefill,
|
||||
LLMFlags.hasImageInput,
|
||||
LLMFlags.hasFirstSystemPrompt,
|
||||
LLMFlags.claudeThinking
|
||||
],
|
||||
parameters: [...ClaudeParameters, 'thinking_tokens'],
|
||||
tokenizer: LLMTokenizer.Claude
|
||||
},
|
||||
{
|
||||
name: 'Claude 3.7 Sonnet (20250219) v1',
|
||||
id: 'anthropic.claude-3-7-sonnet-20250219-v1:0',
|
||||
|
||||
Reference in New Issue
Block a user