Skip to content

Commit

Permalink
fix tool enabled missing in agent
Browse files Browse the repository at this point in the history
  • Loading branch information
takatost committed Jan 2, 2024
1 parent 98f58ff commit 5b6d3c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/core/application_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,6 @@ def _convert_from_app_model_config_dict(self, tenant_id: str, app_model_config_d
if "enabled" not in tool_item or not tool_item["enabled"]:
continue

del tool_item["enabled"]

agent_tool_properties["config"] = tool_item
agent_tools.append(AgentToolEntity(**agent_tool_properties))

Expand Down

0 comments on commit 5b6d3c0

Please sign in to comment.