Skip to content

fix(providers): send Responses API payload during OpenAI-compatible validation - #11454

Merged
diegosouzapw merged 1 commit into
diegosouzapw:release/v3.8.51from
tuandinh0801:fix/openai-compatible-responses-validation
Aug 25, 2026
Merged

diegosouzapw merged 1 commit into
diegosouzapw:release/v3.8.51from
tuandinh0801:fix/openai-compatible-responses-validation

Conversation

@tuandinh0801

@tuandinh0801 tuandinh0801 commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Fixes the OpenAI-compatible Test Connection probe for Responses API: it posted Chat Completions fields (messages, max_tokens) to /responses.
  • Sends input and max_output_tokens when apiType === "responses". Chat Completions mode is unchanged.
  • Adds regression assertions on the /responses probe body.

Fixes #11453

⚠️ base-red inherited: #11449

Target is release/v3.8.51 (active development branch). Freeze #11439 applies to release/v3.8.50 only.

Test plan

  • node --import tsx/esm --test tests/unit/provider-validation-specialty.test.ts (123 passed)
  • Dashboard: Providers → OpenAI Compatible Details → API type Responses → Test Connection succeeds without Unsupported parameter: 'messages'
  • Chat Completions API type still validates with messages / max_tokens

…alidation

The connection test posted chat-completions fields (`messages`, `max_tokens`)
to `/responses`. Send `input` and `max_output_tokens` instead.

Fixes diegosouzapw#11453
@diegosouzapw
diegosouzapw merged commit 14ca809 into diegosouzapw:release/v3.8.51 Aug 25, 2026
7 of 16 checks passed
@tuandinh0801
tuandinh0801 deleted the fix/openai-compatible-responses-validation branch August 25, 2026 05:21
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…alidation (diegosouzapw#11454)

Merged into release/v3.8.51 via batch validation: provider-validation-specialty suite green on the combined tree (193 node:test assertions across the batch's focused files), static gates green. Right fix for the Responses-API probe body (diegosouzapw#11453) — thanks @tuandinh0801!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] OpenAI-compatible Responses API connection test sends messages instead of input

2 participants