Skip to content

Commit

Permalink
fix tool service proxy error
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhangpurdue committed Nov 13, 2024
1 parent 27f8fac commit d553599
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modelscope_agent/tools/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ def _get_tool_info(self):

def call(self, params: str, **kwargs):
# ms_token
kwargs['is_remote'] = True
self.user_token = kwargs.get('user_token', self.user_token)
service_token = os.getenv('TOOL_MANAGER_AUTH', '')
headers = {
Expand Down

0 comments on commit d553599

Please sign in to comment.