Merge pull request #4764 from janhq/feat/add-openai-gpt45preview-anthropic-sonnet37

feat: add openai 4.5 preview and anthropic claude 3.7 sonnet models
This commit is contained in:
David 2025-03-03 08:46:49 +07:00 committed by GitHub
commit e376e8e1f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 32 additions and 0 deletions

View File

@ -40,5 +40,19 @@
"stream": true
},
"engine": "anthropic"
},
{
"model": "claude-3-7-sonnet-latest",
"object": "model",
"name": "Claude 3.7 Sonnet Latest",
"version": "1.0",
"description": "Claude 3.7 Sonnet is the first hybrid reasoning model on the market. It is the most intelligent model yet. It is faster, more cost effective, and more capable than any other model in its class.",
"inference_params": {
"max_tokens": 8192,
"temperature": 0.7,
"max_temperature": 1.0,
"stream": true
},
"engine": "anthropic"
}
]

View File

@ -1,4 +1,22 @@
[
{
"model": "gpt-4.5-preview",
"object": "model",
"name": "OpenAI GPT 4.5 Preview",
"version": "1.2",
"description": "OpenAI GPT 4.5 Preview is a research preview of GPT-4.5, our largest and most capable GPT model yet",
"format": "api",
"inference_params": {
"max_tokens": 16384,
"temperature": 0.7,
"top_p": 0.95,
"stream": true,
"stop": [],
"frequency_penalty": 0,
"presence_penalty": 0
},
"engine": "openai"
},
{
"model": "gpt-4-turbo",
"object": "model",