Skip to content

[aw] Avenger failed #53041

Description

@github-actions

Workflow Failure

Workflow: Avenger
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/31927076597

Warning

Engine Failure: The claude engine terminated unexpectedly.

Last agent output:

2026-08-16T04:43:02.208Z [DEBUG] [mcp-registry] Loaded 294 official MCP URLs (legacy)
2026-08-16T04:43:02.485Z [ERROR] API error (attempt 1/11): 400 400 {"type":"error","error":{"type":"invalid_request_error","message":"\"thinking.type.enabled\" is not supported for this model. Use \"thinking.type.adaptive\" and \"output_config.effort\" to control thinking behavior."},"request_id":"req_011Ce5pFqEBh77tWPMf1xkDs"}
2026-08-16T04:43:02.486Z [WARN] [thinking] model rejected thinking.type=enabled; retrying with adaptive. For Bedrock application-inference-profile ARNs with bearer-token auth, granting bedrock:GetInferenceProfile to the token avoids this round-trip.
2026-08-16T04:43:02.487Z [DEBUG] [API:timing] dispatching to firstParty model=claude-haiku-4-5
2026-08-16T04:43:02.489Z [DEBUG] [API REQUEST] /v1/messages source=sdk
2026-08-16T04:43:02.774Z [ERROR] API error (attempt 1/11): 400 400 {"type":"error","error":{"type":"invalid_request_error","message":"The request body is not valid JSON: unexpected character: line 1 column 1 (char 0)"},"request_id":"req_011Ce5pFsY69QotyBJeQSr1w"}
{"type":"assistant","message":{"diagnostics":null,"id":"82e0febf-0562-43a6-9745-d5340a2e2047","container":null,"model":"<synthetic>","role":"assistant","stop_details":null,"stop_reason":"stop_sequence","stop_sequence":"","type":"message","usage":{"output_tokens_details":null,"input_tokens":0,"output_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":null,"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":null,"iterations":null,"speed":null},"content":[{"type":"text","text":"API Error: 400 The request body is not valid JSON: unexpected character: line 1 column 1 (char 0)"}],"context_management":null},"parent_tool_use_id":null,"session_id":"c6a65f24-bb65-4422-b70f-2fe2adf1d927","uuid":"1f379121-ffa9-416c-826f-7d184d8bdbe3","timestamp":"2026-08-16T04:43:02.785Z","error":"unknown","request_id":"req_011Ce5pFsY69QotyBJeQSr1w","is_api_error_message":true}
{"is_error":true,"duration_api_ms":0,"num_turns":1,"stop_reason":"stop_sequence","session_id":"c6a65f24-bb65-4422-b70f-2fe2adf1d927","total_cost_usd":0,"usage":{"output_tokens_details":{"thinking_tokens":0},"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{},"permission_denials":[],"terminal_reason":"api_error","fast_mode_state":"off","fast_mode_disabled_reason":"disabled_by_env","subtype":"success","api_error_status":400,"result":"API Error: 400 The request body is not valid JSON: unexpected character: line 1 column 1 (char 0)","type":"result","duration_ms":1171,"uuid":"927455fa-398f-49c9-bca7-0628d5dc6f2d"}
2026-08-16T04:43:02.782Z [ERROR] Error in API request: 400 {"type":"error","error":{"type":"invalid_request_error","message":"The request body is not valid JSON: unexpected character: line 1 column 1 (char 0)"},"request_id":"req_011Ce5pFsY69QotyBJeQSr1w"}
2026-08-16T04:43:02.793Z [DEBUG] LSP server manager shut down successfully

Action Required

Assign this issue to an agent to debug and fix the issue.

Debug with any coding agent

Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):

Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md

The failed workflow run is at https://github.com/github/gh-aw/actions/runs/31927076597
Manually invoke the agent

Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.

Tip

Stop reporting this workflow as a failure

To stop a workflow from creating failure issues, set report-failure-as-issue: false in its frontmatter:

safe-outputs:
  report-failure-as-issue: false

Generated from Avenger · 37.8 AIC ·

  • expires on Aug 16, 2026, 4:45 PM UTC

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions