mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Feature/add new models for token pony and bug fix for use llm (#10823)
new models for token pony and bug fix for use llm Co-authored-by: huangzl <huangzl@shinemo.com>
This commit is contained in:
@ -227,8 +227,8 @@
|
|||||||
"llm": [
|
"llm": [
|
||||||
{
|
{
|
||||||
"llm_name": "qwen3-8b",
|
"llm_name": "qwen3-8b",
|
||||||
"tags": "LLM,CHAT,131k",
|
"tags": "LLM,CHAT,128k",
|
||||||
"max_tokens": 131000,
|
"max_tokens": 128000,
|
||||||
"model_type": "chat",
|
"model_type": "chat",
|
||||||
"is_tools": true
|
"is_tools": true
|
||||||
},
|
},
|
||||||
@ -241,15 +241,15 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"llm_name": "qwen3-32b",
|
"llm_name": "qwen3-32b",
|
||||||
"tags": "LLM,CHAT,131k",
|
"tags": "LLM,CHAT,128k",
|
||||||
"max_tokens": 131000,
|
"max_tokens": 128000,
|
||||||
"model_type": "chat",
|
"model_type": "chat",
|
||||||
"is_tools": true
|
"is_tools": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"llm_name": "kimi-k2-instruct",
|
"llm_name": "kimi-k2-instruct-0905",
|
||||||
"tags": "LLM,CHAT,128K",
|
"tags": "LLM,CHAT,256K",
|
||||||
"max_tokens": 128000,
|
"max_tokens": 256000,
|
||||||
"model_type": "chat",
|
"model_type": "chat",
|
||||||
"is_tools": true
|
"is_tools": true
|
||||||
},
|
},
|
||||||
@ -280,6 +280,48 @@
|
|||||||
"max_tokens": 128000,
|
"max_tokens": 128000,
|
||||||
"model_type": "chat",
|
"model_type": "chat",
|
||||||
"is_tools": true
|
"is_tools": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"llm_name": "hunyuan-a13b-instruct",
|
||||||
|
"tags": "LLM,CHAT,256k",
|
||||||
|
"max_tokens": 256000,
|
||||||
|
"model_type": "chat",
|
||||||
|
"is_tools": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"llm_name": "qwen3-next-80b-a3b-instruct",
|
||||||
|
"tags": "LLM,CHAT,1024k",
|
||||||
|
"max_tokens": 1024000,
|
||||||
|
"model_type": "chat",
|
||||||
|
"is_tools": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"llm_name": "deepseek-v3.2-exp",
|
||||||
|
"tags": "LLM,CHAT,128k",
|
||||||
|
"max_tokens": 128000,
|
||||||
|
"model_type": "chat",
|
||||||
|
"is_tools": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"llm_name": "deepseek-v3.1-terminus",
|
||||||
|
"tags": "LLM,CHAT,128k",
|
||||||
|
"max_tokens": 128000,
|
||||||
|
"model_type": "chat",
|
||||||
|
"is_tools": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"llm_name": "qwen3-vl-235b-a22b-instruct",
|
||||||
|
"tags": "LLM,CHAT,262k",
|
||||||
|
"max_tokens": 262000,
|
||||||
|
"model_type": "chat",
|
||||||
|
"is_tools": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"llm_name": "qwen3-vl-30b-a3b-instruct",
|
||||||
|
"tags": "LLM,CHAT,262k",
|
||||||
|
"max_tokens": 262000,
|
||||||
|
"model_type": "chat",
|
||||||
|
"is_tools": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1363,6 +1363,8 @@ class TokenPonyChat(Base):
|
|||||||
def __init__(self, key, model_name, base_url="https://ragflow.vip-api.tokenpony.cn/v1", **kwargs):
|
def __init__(self, key, model_name, base_url="https://ragflow.vip-api.tokenpony.cn/v1", **kwargs):
|
||||||
if not base_url:
|
if not base_url:
|
||||||
base_url = "https://ragflow.vip-api.tokenpony.cn/v1"
|
base_url = "https://ragflow.vip-api.tokenpony.cn/v1"
|
||||||
|
super().__init__(key, model_name, base_url, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class DeerAPIChat(Base):
|
class DeerAPIChat(Base):
|
||||||
_FACTORY_NAME = "DeerAPI"
|
_FACTORY_NAME = "DeerAPI"
|
||||||
|
|||||||
Reference in New Issue
Block a user