浏览代码

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)
tags/v0.19.0
Andrea 5 个月前
父节点
当前提交
e39ceb2bd1
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 23 次插入5 次删除
  1. 23
    5
      conf/llm_factories.json

+ 23
- 5
conf/llm_factories.json 查看文件

@@ -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": []
}
]
}
}

正在加载...
取消
保存