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:
@ -1363,6 +1363,8 @@ class TokenPonyChat(Base):
|
||||
def __init__(self, key, model_name, base_url="https://ragflow.vip-api.tokenpony.cn/v1", **kwargs):
|
||||
if not base_url:
|
||||
base_url = "https://ragflow.vip-api.tokenpony.cn/v1"
|
||||
super().__init__(key, model_name, base_url, **kwargs)
|
||||
|
||||
|
||||
class DeerAPIChat(Base):
|
||||
_FACTORY_NAME = "DeerAPI"
|
||||
|
||||
Reference in New Issue
Block a user