Skip to content

Conversation

@celia-oai
Copy link
Collaborator

@celia-oai celia-oai commented Jan 8, 2026

We are deprecating chat completions. Move all app server tests from chat completion to responses.

@celia-oai celia-oai changed the title changes [fix] move app server tests from chat completion to responses Jan 8, 2026
@celia-oai celia-oai force-pushed the dev/cc/responses-test branch from c37992e to f014ee8 Compare January 8, 2026 21:50
@celia-oai celia-oai force-pushed the dev/cc/responses-test branch from f014ee8 to e82550a Compare January 8, 2026 22:13
@celia-oai celia-oai changed the title [fix] move app server tests from chat completion to responses [chore] move app server tests from chat completion to responses Jan 8, 2026
@celia-oai celia-oai marked this pull request as ready for review January 8, 2026 22:22
@celia-oai celia-oai enabled auto-merge (squash) January 8, 2026 22:26
@celia-oai celia-oai merged commit be4364b into main Jan 8, 2026
26 of 27 checks passed
@celia-oai celia-oai deleted the dev/cc/responses-test branch January 8, 2026 22:27
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2026
Copy link
Collaborator

@owenlin0 owenlin0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for doing this! 🙌


Mock::given(method("POST"))
.and(path("/v1/chat/completions"))
.and(path_regex(".*/responses$"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious, why regex instead of just path("/v1/responses")?


Mock::given(method("POST"))
.and(path("/v1/chat/completions"))
.and(path_regex(".*/responses$"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

name = "Mock provider for test"
base_url = "{server_uri}/v1"
wire_api = "chat"
wire_api = "responses"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wonder if we can just remove all of these lines from all of these test configs now:

model_provider = "mock_provider"

[model_providers.mock_provider]
name = "Mock provider for test"
base_url = "{server_uri}/v1"
wire_api = "responses"
request_max_retries = 0
stream_max_retries = 0

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants