Skip to content

Commit

Permalink
simplifier
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyiqunLu committed Jul 22, 2024
1 parent 80e0405 commit 6d1ccba
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions vision_agent/agent/vision_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def write_plans(
tool_desc: str,
working_memory: str,
model: LMM,
test_multi_plan: bool,
) -> Dict[str, Any]:
chat = copy.deepcopy(chat)
if chat[-1]["role"] != "user":
Expand Down Expand Up @@ -737,14 +738,6 @@ def chat_with_workflow(
plan_i = plans[k]
tool_info = tool_infos[k]

if test_multi_plan:
self.log_progress(
{
"type": "plans",
"status": "completed",
"payload": tool_lists[best_plan],
}
)
self.log_progress(
{
"type": "tools",
Expand Down

0 comments on commit 6d1ccba

Please sign in to comment.