Skip to content

feat: add GPT-5.6 Terra via bedrock-mantle Responses API#202

Merged
ShotaroKataoka merged 8 commits into
mainfrom
feat/gpt56-terra
Jul 15, 2026
Merged

feat: add GPT-5.6 Terra via bedrock-mantle Responses API#202
ShotaroKataoka merged 8 commits into
mainfrom
feat/gpt56-terra

Conversation

@ShotaroKataoka

Copy link
Copy Markdown
Contributor

Summary

  • Add OpenAI GPT-5.6 Terra (openai.gpt-5.6-terra, GA 2026-07-13) as a selectable model for chat and create
  • New Responses API path for bedrock-mantle models: GPT-5.6 supports Responses only (no Chat Completions), routed via strands OpenAIResponsesModel + bedrock_mantle_config (bearer-token auth); MANTLE_RESPONSES_MODELS registry selects the path per model
  • Grant bedrock-mantle:CallWithBearerToken to the agent role (bearer-token path requires it; the legacy SigV4 path only needed CreateInference)
  • Bump strands-agents floor to 1.47.0 (native bedrock_mantle_config support)
  • Fix: add missing errors.py to agent Dockerfile COPY (runtime failed to start with HTTP 424 / ModuleNotFoundError — pre-existing bug surfaced by this image rebuild)

Not included (tested & rejected)

GPT-5.6 Luna was added, feasibility-tested, and removed: output quality insufficient even for chat. History also contains a diagnosis of a us-east-1 mantle Luna streaming stall (stream emits 2 events then hangs; us-east-2/us-west-2 complete in <1s) — kept in commit messages for reference.

Testing

  • make all (lint + 292 unit tests) and tsc --noEmit pass
  • Local smoke tests via mantle us-east-1: Terra single-turn 1.8s, multi-turn tool round-trip 3.2s
  • Deployed to a dev account (SdpmAgent + SdpmWebUi via CodeBuild): Terra verified working in Web UI chat and create

…ck-mantle

SPEC: 20260714-1210_add-gpt56-terra-luna-models
- Terra: GPT-5.5-level performance at half cost, compose-capable
- Luna: fastest/cheapest tier, chat only (compose_capable=False)
- Both us-east-1/us-east-2/us-west-2, In-Region only (model IDs verified in AWS docs)
Next: deploy agent stack and verify in Web UI
…bility test)

SPEC: 20260714-1210_add-gpt56-terra-luna-models
Luna is Haiku-class; enabling create picker to evaluate slide-generation
feasibility. Revert to GPT_FAST if quality is insufficient.
…ckerfile COPY

Runtime failed to start (HTTP 424, ModuleNotFoundError: errors).
errors.py existed in the repo but was never added to the Dockerfile COPY
list; this deploy was the first image build since its introduction.
GPT-5.6 model cards: Responses ✅ / Chat Completions ❌ — the legacy
OpenAIModel path hit /chat/completions and got 400 Bad Request.
Use strands OpenAIResponsesModel with native bedrock_mantle_config
(bearer token per request); bump strands-agents floor to 1.47.0.
Verified locally: Terra replies in 1.8s via mantle us-east-1.
Known issue: Luna hangs (launch-week instability, community reports).
…erToken to agent role

Responses API path uses bearer-token auth (not SigV4), which requires a
separate IAM action. Runtime got 401 access_denied on Terra invocation.
…-1 mantle stream stalls)

Root cause of Luna hanging: region-specific fault in us-east-1
bedrock-mantle Luna deployment — stream emits 2 events then stalls
indefinitely (25 min for a 1-word reply). us-east-2 / us-west-2
complete in <1s. Terra unaffected in all regions.
Verified multi-turn tool round-trip on us-east-2: 3.2s total.
…easibility test

Feasibility verdict (2026-07-14, Web UI):
- Terra: acceptable slide generation quality — stays compose-capable
- Luna: insufficient quality for compose — chat-only (GPT_FAST),
  consistent with its Haiku-class positioning
…asibility test

Verdict: Terra acceptable (stays, chat+create). Luna insufficient even
for chat — removed from profiles, mantle registry, UI metadata, config.
@ShotaroKataoka ShotaroKataoka added the blog:skip ブログ対象外 label Jul 15, 2026
@ShotaroKataoka ShotaroKataoka merged commit d884ece into main Jul 15, 2026
13 of 14 checks passed
@ShotaroKataoka ShotaroKataoka deleted the feat/gpt56-terra branch July 15, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blog:skip ブログ対象外

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant