Feat: add support for OpenAi gpt 4.1 series (#7540)

### What problem does this PR solve?

Adds support for the GPT-4.1 series from OpenAI.

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Andrea 2025-05-12 12:24:53 +02:00 committed by GitHub
parent 992398bca3
commit e39ceb2bd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,27 @@
"tags": "LLM,TEXT EMBEDDING,TTS,TEXT RE-RANK,SPEECH2TEXT,MODERATION",
"status": "1",
"llm": [
{
"llm_name": "gpt-4.1",
"tags": "LLM,CHAT,1M,IMAGE2TEXT",
"max_tokens": 1047576,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "gpt-4.1-mini",
"tags": "LLM,CHAT,1M,IMAGE2TEXT",
"max_tokens": 1047576,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "gpt-4.1-nano",
"tags": "LLM,CHAT,1M,IMAGE2TEXT",
"max_tokens": 1047576,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "gpt-4.5-preview",
"tags": "LLM,CHAT,128K",
@ -569,7 +590,6 @@
"max_tokens": 64000,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "deepseek-reasoner",
@ -1296,7 +1316,7 @@
"llm_name": "ibm/granite-guardian-3.0-8b",
"tags": "LLM,CHAT,128k",
"max_tokens": 131072,
"model_type": "chat"
"model_type": "chat"
},
{
"llm_name": "igenius / colosseum-355b_instruct_16k",
@ -1829,8 +1849,6 @@
"max_tokens": 512,
"model_type": "embedding"
},
{
"llm_name": "adept/fuyu-8b",
"tags": "IMAGE2TEXT,1K",
@ -3277,4 +3295,4 @@
"llm": []
}
]
}
}