Repository navigation
fix: replace retired probe default models for Claude and OpenAI - #146
Merged
lich0821 merged 1 commit intoOct 23, 2026
Merged
Conversation
The endpoint test, the minimal-request probe and the token-count probe fell back to claude-sonnet-4-5-20250929 when the endpoint had no model, and the openai and openai2 probes fell back to gpt-4-turbo, which OpenAI shuts down on 2026-10-23. Probe claude-sonnet-5-5 and gpt-5.6-sol on the Responses path (it sends max_output_tokens) and gpt-4.1-mini on the chat completions path, which keeps sending max_tokens. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
The endpoint test, the minimal-request probe and the token-count probe fall back to a hard-coded model when the endpoint has none configured. Those fallbacks are about to stop existing, so a working endpoint would be reported as failing:
claude-sonnet-4-5-20250929(claude path inTestEndpointandtestMinimalRequest, andtestTokenCountAPI) retires on 2026-11-30.gpt-4-turbo(openai chat andopenai2Responses probes) is shut down by OpenAI on 2026-10-23 (https://developers.openai.com/api/docs/deprecations).New fallbacks:
claude-sonnet-5-5.openai2(Responses):gpt-5.6-sol, the replacement named on the deprecations page. This probe sendsmax_output_tokens.openai(chat completions):gpt-4.1-mini. The probe sendsmax_tokens, which the Chat Completions reference marks as deprecated in favour ofmax_completion_tokensand not compatible with o-series models; the gpt-5.6 pages do not say whether they accept it, and changing the parameter could break OpenAI-compatible endpoints, so the request shape is unchanged.gpt-4.1-miniis available until 2027-01-14; moving this probe to a gpt-5.6 model needsmax_completion_tokensand can follow separately.Tests:
probe_default_model_test.gorecords themodelthe probes send to a local server. Six tests fail on master (claude-sonnet-4-5-20250929x3,gpt-4-turbox3) and pass with this change;go test ./internal/service/passes.This change was made with Claude Code.
🤖 Generated with Claude Code