Skip to content

Bug: Agent not responding to subsequent prompts after error #541

@amitksingh1490

Description

@amitksingh1490

When invoking a tool call with tool_forge_fs_create, the agent fails with an error message related to parsing tool call arguments. After encountering this error, the agent does not respond to subsequent prompts.

Image
✗ error Failed to parse tool call: [ToolCallPart { call_id: Some(ToolCallId("toolu_vrtx_01VibciqALXHDEjsKRfWXTRt")), name: Some(ToolName("tool_forge_fs_create")), arguments_part: "" }, ToolCallPart { call_id: None, name: None, arguments_part: "" }, ToolCallPart { call_id: None, name: None, arguments_part: "{\"path\": \"" }, ToolCallPart { call_id: None, name: None, arguments_part: "/Users/ami" }, ToolCallPart { call_id: None, name: None, arguments_part: "t/code-forg" }, ToolCallPart { call_id: None, name: None, arguments_part: "e/crates" }, ToolCallPart { call_id: None, name: None, arguments_part: "/forg" }, ToolCallPart { call_id: None, name: None, arguments_part: "e_ci/test" }, ToolCallPart { call_id: None, name: None, arguments_part: "s/c" }, ToolCallPart { call_id: None, name: None, arguments_part: "i.rs\"" }]

Caused by:
    Invalid tool call arguments: EOF while parsing an object at line 1 column 61

forge version: 0.47.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions