mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
force recomm tools for coding
This commit is contained in:
parent
f31c257ea1
commit
17247b5518
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class DataAnalyst(RoleZero):
|
|||
@model_validator(mode="after")
|
||||
def set_custom_tool(self):
|
||||
if self.custom_tools and not self.custom_tool_recommender:
|
||||
self.custom_tool_recommender = BM25ToolRecommender(tools=self.custom_tools)
|
||||
self.custom_tool_recommender = BM25ToolRecommender(tools=self.custom_tools, force=True)
|
||||
|
||||
def _update_tool_execution(self):
|
||||
self.tool_execution_map.update(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue