Skip to content

Commit

Permalink
Fix base url of AIStudioFileClient
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobholamovic committed Jan 15, 2024
1 parent 0fc495e commit 0c4d4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erniebot-agent/src/erniebot_agent/file/remote_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class AIStudioFileClient(RemoteFileClient):
"""

_BASE_URL: Final[str] = "https://sandbox-aistudio.baidu.com"
_BASE_URL: Final[str] = "https://aistudio.baidu.com"
_UPLOAD_ENDPOINT: Final[str] = "/llm/lmapp/files"
_RETRIEVE_ENDPOINT: Final[str] = "/llm/lmapp/files/{file_id}"
_RETRIEVE_CONTENTS_ENDPOINT: Final[str] = "/llm/lmapp/files/{file_id}/content"
Expand Down

0 comments on commit 0c4d4ca

Please sign in to comment.