Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhangpurdue committed Nov 13, 2024
1 parent 42e38f7 commit ba88896
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/agentfabric/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,11 @@ def parse_configuration(uuid_str='', use_tool_api=False):
# for tool hub only
if '/' in key:
tool_cfg[key] = value
if value['use']:
available_tool_list.append(key)

if 'is_openapi' in value and value['is_openapi']:
available_plugin_list.append(key)
elif value['use']:
available_tool_list.append(key)

plugin_cfg = {}
if len(available_plugin_list) == 0:
Expand Down

0 comments on commit ba88896

Please sign in to comment.