Skip to content

Commit

Permalink
fix: add default base url
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywoola committed Sep 3, 2024
1 parent 1a5116c commit f9b18b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/tools/provider/builtin/stepfun/tools/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def _invoke(self,
"""
invoke tools
"""
base_url = self.runtime.credentials.get('stepfun_base_url', None)
base_url = self.runtime.credentials.get('stepfun_base_url', 'https://api.stepfun.com')
if not base_url:
base_url = None
else:
Expand Down

0 comments on commit f9b18b5

Please sign in to comment.