Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MingruiZhang committed Jul 29, 2024
1 parent b34ab23 commit e85b31b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vision_agent/agent/vision_agent_coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def debug_code(
f"{DefaultImports.to_code_string()}\n{code}\n{test}"
)
log_progress(
{
{
"type": "log",
"log_content": (
"Code execution succeed" if result.success else "Code execution failed"
Expand Down Expand Up @@ -819,6 +819,7 @@ def chat_with_workflow(
play_video(res.mp4)

return {
"status": "completed" if success else "failed",
"code": DefaultImports.prepend_imports(code),
"test": test,
"test_result": execution_result,
Expand Down

0 comments on commit e85b31b

Please sign in to comment.