Skip to content

Commit

Permalink
update default endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
cuauty committed Dec 11, 2024
1 parent e5da119 commit 25db74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastchat/serve/api_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ def bailing_api_stream_iter(
api_key=None,
generation_args=None,
):
url = api_base if api_base else "https://bailingchat.alipay.com/chat/arena"
url = api_base if api_base else "https://bailingchat.alipay.com/chat/completions"
token = api_key if api_key else os.environ.get("BAILING_API_KEY")
if token:
headers = {"Authorization": f"Bearer {token}"}
Expand Down

0 comments on commit 25db74b

Please sign in to comment.