Ge-AI commited on
Commit
b1192b7
·
verified ·
1 Parent(s): 51f0abc

Update openai_ondemand_adapter.py

Browse files
Files changed (1) hide show
  1. openai_ondemand_adapter.py +1 -1
openai_ondemand_adapter.py CHANGED
@@ -207,7 +207,7 @@ if not ONDEMAND_APIKEYS:
207
  logging.warning("【启动警告】ONDEMAND_APIKEYS 环境变量未设置或为空。服务可能无法正常工作。")
208
  keymgr = KeyManager(ONDEMAND_APIKEYS)
209
 
210
- ONDEMAND_API_BASE = "https://api.on-demand.io/chat/v1"
211
 
212
  def get_endpoint_id(openai_model_name):
213
  normalized_model_name = str(openai_model_name or "").lower().replace(" ", "")
 
207
  logging.warning("【启动警告】ONDEMAND_APIKEYS 环境变量未设置或为空。服务可能无法正常工作。")
208
  keymgr = KeyManager(ONDEMAND_APIKEYS)
209
 
210
+ ONDEMAND_API_BASE = "https://agentforge-api.aitech.io/chat/v1"
211
 
212
  def get_endpoint_id(openai_model_name):
213
  normalized_model_name = str(openai_model_name or "").lower().replace(" ", "")