Skip to content

[deep-report] firewall-chart-generator fails: gpt-5.4-mini requires Responses API, engine calls /chat/completions #62893

Closed as not planned

Description

@github-actions

Description

The firewall-chart-generator sub-agent (.github/workflows/daily-firewall-report.md, model: small) has failed on the last two attempts with 400 model "gpt-5.4-mini" is not accessible via the /chat/completions endpoint (per today's 2026-09-23 Daily Firewall Report, which had to omit its trend charts as a result). pkg/cli/data/models.json shows gpt-5.4-mini under both providers.github-copilot.models and providers.openai.models with "wire_api": "responses" — meaning this model must be called through the OpenAI Responses API, not the legacy Chat Completions API. A repo-wide search shows wire_api is only consulted in pkg/workflow/codex_engine.go / codex_mcp.go / threat_detection_external.go — the code path that resolves the small model alias to gpt-5.4-mini for Copilot-engine sub-agents does not appear to route on wire_api at all, so it always calls /chat/completions and hard-fails for any alias-resolved model that requires the Responses API.

Expected Impact

Fixes a live, reproducing failure (2 consecutive attempts today) that silently degrades the Daily Firewall Report (and any other sub-agent using model: small/other Responses-only aliases under the Copilot engine) by dropping its charts. Likely affects any workflow relying on model-alias resolution wherever the resolved concrete model requires wire_api: responses.

Suggested Agent

New Agent (engine/model-routing) — trace where small/model aliases are resolved to concrete IDs for the Copilot engine's sub-agent calls, and make that path consult wire_api from models.json (the same way codex_engine.go already does) to pick the Responses API when required.

Estimated Effort

Medium (1-4 hours)

Data Source

DeepReport Intelligence Briefing analysis, 2026-09-23 — sourced from Daily Firewall Report (2026-09-23), live-verified against pkg/cli/data/models.json and grep of wire_api usage across pkg/workflow/.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.anthropic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.anthropic.com"

See Network Configuration for more information.

Generated by 🔬 Deep Report · claude · agent · 268.9 AIC · ⌖ 9.61 AIC · ⊞ 13K · ◷

  • expires on Sep 24, 2026, 10:52 PM UTC-08:00

Activity

  1. github-actions commented on Sep 25, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-09-25T06:52:41.596Z.

    Closed by Workflow

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions