Skip to content

Commit

Permalink
returning dictionary instead of code
Browse files Browse the repository at this point in the history
  • Loading branch information
shankar-vision-eng committed May 29, 2024
1 parent ec9da2e commit aae2481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/agent/vision_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def __call__(
input = [{"role": "user", "content": input}]
results = self.chat_with_workflow(input, media)
results.pop("working_memory")
return results["code"] # type: ignore
return results # type: ignore

def chat_with_workflow(
self,
Expand Down

0 comments on commit aae2481

Please sign in to comment.