Repository navigation
feat(platform): run GPT-6 models in chat, subscriptions only in tasks - #4181
Merged
Merged
Conversation
Direct chat now speaks the OpenAI Responses API for a model whose catalog entry says its tools work only there (toolCallingApi: responses), instead of refusing it: a third body in chat_wire (instructions, input items, function_call / function_call_output pairs, flat non-strict tools, max_output_tokens, five effort levels, store: false) and a third stream dialect in stream_decode (text, refusal and reasoning deltas, call drafts keyed by call_id, closing usage and finish reason, error and response.failed). The picker, Auto and the turn offer such a model on any OpenAI-format connector; the Chat Completions model endpoints keep it out. The OpenAI catalog gains gpt-6-astra (Responses tools, no off switch), gpt-6-sol and gpt-6-luna (off: none, toolsRequireOff), as the vendor's model pages and latest-model guide state. Tasks serve a Responses-only model only on a harness that speaks it (Codex today): agent serving names the Responses API and the capable harness instead of reporting the model missing; the project-agent check, the standard agent's chooser, the agent pickers and the Agent runtimes status offer, accept or count it only there. Subscription credentials stay in tasks, inside their vendor's runtime: the vendors permit those tokens nowhere else, and Anthropic refuses other clients. The add form shows a static notice for both subscription methods, every subscription row says "Tasks and automations only", the chat model list names the subscriptions it leaves out, and the direct chat refusals give the reason.
AI providers gains "Use subscriptions in tasks, not in chat" (why a subscription credential works only in its vendor's runtime, where the app says so, and how to chat with the same model) and "Run the GPT-6 models" (chat through an API key or environment credential, Astra and GPT-6.1 Sol on the Responses API, Codex-only in tasks). Harnesses, Models, Project agents, Chat basics and the editor guide carry the same facts, in en, de and fr. The manual layer gains CHAT-F59, CHAT-F60 and SET-F74 and the automation rows that own the rest.
The standard agent's availability read chose without the runtimes that speak the Responses API, so a ChatGPT subscription's Responses-only pin on Codex read as unavailable while the kick would have run it. Both now read one set, and the chooser requires it, so no call can default to none. The Agent runtimes status said "no direct credential" for a runtime that had direct models but none its wire can carry; it now says why (no-compatible-model) and points to another model or Codex, in en, de and fr.
yannickmonney
added a commit
that referenced
this pull request
Oct 4, 2026
* fix(platform): enforce project rights for run controls Scope project run controls, transcripts and connector-operation approvals to the project permission rule while retaining organization-level behavior. Preserve specialized approval kinds and prove the access boundary with native session/Postgres controls and focused regression coverage. * fix(sandbox): bound agent execution and recover session state (#4174) Bound agent replay, retained projections, progress writes and file transfers while preserving authoritative results and explicit recovery failures. Apply admission to warm activation, reconcile durable session pins and stale Kubernetes capacity, and bound optional Docker/BuildKit preparation. Include regression coverage and operator documentation. * feat(platform): run GPT-6 models in chat, subscriptions only in tasks (#4181) * fix(sandbox): release retained command memory and bound stdin (#4185) Release completed command payloads, disconnected HTTP consumers and tunnel listeners at their lifetime boundaries. Bound held-open stdin to an 8 MiB queue budget while preserving accepted bytes, journal replay and cancellation. Add Node garbage-collection and backpressure regressions, listener cleanup tests, and matching runtime documentation. * docs(manual): qualify database-unavailable reporting expectations (#4180) The manual's DATABASE_UNAVAILABLE row read as if nothing reaches Sentry for a whole database outage. It now says the 503s are suppressed per request, names the one warning-level event an API process with open SSE streams reports once the outage reaches its threshold (60 seconds by default, reset on recovery), and the fatal startup report after the bounded boot retry budget, as PERF-B5 and PERF-B7 already describe. Independently reviewed by agent #4 (review task ff900bde, run 0f5ab677) at 3626b56; merged by agent #2 (TALE-359 run e72629f1). Closes #4044
Contributor
Author
|
Post-merge independent review of #4181 at
The core rule holds, verified from source: chat can't use a subscription credential.
LOW
INFO
Routing: to the manager as follow-ups. Nothing here needs a revert. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Chat serves every model an API-key or environment credential reaches, the GPT-6 family included.
toolCallingApi: responses, instead of refusing it.chat_wire.tsbuilds a third body (system prompt asinstructions,inputitems withfunction_call/function_call_outputpairs keyed bycall_id, flat non-strict function tools,max_output_tokens, five effort levels,store: false).stream_decode.tsreads a third dialect (text, refusal and reasoning deltas, call drafts from output items and argument deltas, closing usage with cache and reasoning counts, finish reasons,errorandresponse.failed)./api/v1/openai/...) still leave it out, because they don't relay Responses.gpt-6-astra(tools only through Responses, reasoning can't be switched off) plusgpt-6-solandgpt-6-luna(off: none,toolsRequireOff, like the 5.6 trio), per OpenAI's model pages and latest-model guide (2026-10-03).gpt-6.1-solwas already there.Tasks serve a Responses-only model wherever its tools can run, and say so clearly where they can't.
no-compatible-model("run it on Codex or allow another model") when direct models exist but none fits a runtime's wire, instead of claiming that no credential exists.Subscriptions stay in tasks, and the app says why.
Docs (EN/DE/FR): AI providers gains "Use subscriptions in tasks, not in chat" and "Run the GPT-6 models". Harnesses, Models, Project agents, Chat basics and the editor guide carry the same facts. The manual layer gains
CHAT-F59,CHAT-F60andSET-F74, plus the automation rows that own the rest.Verification
7063f9974:tscclean, and 58 affected suites (1,118 tests) pass.oxlint --type-awareon all changed files,oxfmt --check,lint:links(452 pages),lint:manual,check-guideon the touched suites, the platform catalog i18n checks, the docs suite, and a full docs compile all pass.response.failedusage booking), the direct call against a stubbedfetch(Responses vs Chat Completions), the catalog walk, serving refusals, the project-agent check, the standard agent chooser, picker offers, runtime status, model API listing, and the UI notes.An automated review pass then found that the availability read wasn't wire-aware and that the status reason was misleading; both are fixed in
4c81f9718with regression tests. A third finding (the chat note naming a provider that also has an API key) can't occur, because only each provider's single active default credential is servable.Not verified live
CHAT-F60covers the live check: a GPT-6.1 Sol chat reply that uses a tool.reasoning.encrypted_contentround-trip). The model reasons afresh each round, as on Chat Completions.For the next release notes