Skip to content

Running Claude manually works, but executing via agents throws an error. #299

@joytianya

Description

@joytianya

What version of Code is running?

code 0.2.176

Which model were you using?

claude

What platform is your computer?

macos

What steps can reproduce the bug?

"wait_time_seconds": 122,
"total_lines": 1,
"output_preview": "",
"output_file": "/Users/matrix/projects/dev/ddys_proxy_server/.code/agents/6fc4bb70-1192-4e36-825e-857e94ce78dc/result.txt"
}

Pausing briefly

✔ Agent Wait, duration: 15.03s
└ agent_id: 47f41cfe-08fe-49da-a760-47dc67ce82f8
└ timeout_seconds: 600
└ return_all: true

{
"agent_id": "47f41cfe-08fe-49da-a760-47dc67ce82f8",

"wait_time_seconds": 15,
"total_lines": 1,
"output_preview": "",
"output_file": "/Users/matrix/projects/dev/ddys_proxy_server/.code/agents/47f41cfe-08fe-49da-a760-47dc67ce82f8/result.txt"
}

Analyzing result files

Explored
└ Read result.txt

Checking for output files

List
└ agents/

Checking output file contents
Considering agent_result usage

✖ Agent Run, duration: 0ms
└ task: check

{
"status": "blocked",
"reason": "prompt_too_short",
"message": "⚠️t Agent prompt too short: give the manager more context (at least a full sentence) before running agents. Current prompt: "check"."
}

Correcting function call to agent_result

What is the expected behavior?

no blocked

What do you see instead?

No response

Additional information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions