mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 02:49:00 +08:00
Update Yichat base_url (#2620)
### What problem does this PR solve? Update Yichat base_url ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Co-authored-by: liuhua <10215101452@stu.ecun.edu.cn>
This commit is contained in:
parent
297b2d0ac9
commit
e11a74eed5
@ -981,9 +981,9 @@ class SILICONFLOWChat(Base):
|
||||
|
||||
|
||||
class YiChat(Base):
|
||||
def __init__(self, key, model_name, base_url="https://api.01.ai/v1"):
|
||||
def __init__(self, key, model_name, base_url="https://api.lingyiwanwu.com/v1"):
|
||||
if not base_url:
|
||||
base_url = "https://api.01.ai/v1"
|
||||
base_url = "https://api.lingyiwanwu.com/v1"
|
||||
super().__init__(key, model_name, base_url)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user