#412·aisuite

Support GPT-6 Astra via the OpenAI Responses API

Author: hiciefteCreated Sep 18, 2026Updated Sep 18, 2026

Request

Please add OpenAI Responses API support for GPT-6 Astra, including local function/MCP execution and native streaming. We use AISuite for an assistant with local read-only tools. Forwarding the new model name to Chat Completions is insufficient for Astra tool calling.

I found no existing Astra/Responses API issue in the open or closed issues/PRs. The general streaming requests #97 and #106 are related, but this also needs the Responses request, output and tool-continuation contracts.

Versions and current behavior

Checked on 2026-09-18:

  • Latest published AISuite: 0.1.14.
  • Upstream main: 531b5b840669776948bdb9ce4ac2da2dfa9c80f3.
  • Our pinned OpenAI Python SDK: 1.109.1.

Both the release and inspected upstream provider call client.chat.completions.create. The automatic tool loop expects Chat Completions messages and tool_calls. Upstream streaming now exists, but _prepare_stream_kwargs rejects streaming combined with max_turns or an MCP configuration.

According to the OpenAI Astra migration guide, Astra tool calling requires Responses. Text-only Chat Completions compatibility does not establish tool compatibility. This issue is based on source inspection and successful direct Responses tests, not a claimed AISuite exception trace.

API differences to support

  • Responses input and max_output_tokens, plus reasoning={"effort": "low"} for the low-effort path. Astra requests must omit unsupported sampling/logprob parameters such as temperature, top_p and top_logprobs.
  • Responses function schemas and output items, rather than only choices[0].message.
  • Local execution of function_call items, returning function_call_output with the exact call_id.
  • Preservation of required reasoning/output items between tool turns. For stateless store=False requests, support include=["reasoning.encrypted_content"] and carry that content forward as described in the function-calling guide.
  • Native text/refusal deltas and completed/failed/incomplete stream events, with reliable stream cleanup and no successful empty answer after a failed response.
  • Usage normalization from input_tokens/output_tokens, preserving cache details and accounting for each tool-loop response once.
  • If cache-retention controls are exposed, account for the migration from prompt_cache_retention to prompt_cache_options.ttl.

An explicit Responses interface or provider capability selection would be useful; existing Chat Completions callers should keep their current behavior. Plain streaming and non-streaming tool execution could land first, with the supported combinations documented clearly. Local MCP execution should not require exposing a private MCP server through OpenAI's hosted remote-MCP feature.

Compatibility evidence and useful tests

We implemented a small downstream Responses adapter while retaining AISuite for other models. With the pinned OpenAI SDK 1.109.1, live checks passed for native streaming and a two-request function roundtrip: the model requested an actual local MCP lookup and its final answer matched the returned value. Thus a major OpenAI SDK upgrade was not necessary for this tested subset; newer options may need separate compatibility checks.

Our offline checks cover request serialization, encrypted-reasoning continuation, full-batch tool validation, bounded turns, MCP errors, incomplete/empty responses, streaming completion/failure/EOF and cache-aware usage. These would make useful upstream acceptance cases alongside regression coverage for existing models/providers.

Is a Responses interface already planned, and which public API shape would you prefer for a contribution?