Repository navigation
fix(upstreams): an inference test a ChatGPT account can take - #118
Merged
Merged
Conversation
The inference test used to refuse a ChatGPT account outright, and the refusal arrived as an English sentence the Chinese UI printed as is. Core now runs the test for every kind of upstream and says why it failed with a code, so the dialog reads: - An upstream that takes no output limit shows "no limit" and "by actual usage" rather than a limit and an amount that were made up. The total goes unknown with it, and says that is what happened. - A failed run says what went wrong in the app's own language. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Merged
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.
Pins core v0.28.0 (Core#108), where the inference test learned every kind of upstream, and follows it in the dialog.
Before this, picking a ChatGPT account and pressing the button printed
an inference test does not support a Chatgpt upstream yet, so nothing was sent— in English, in the Chinese UI, because that sentence had no code.In the dialog
max_output_tokens, so there is no ceiling to price against; a number in those cells would have been made up. The total goes unknown with it and says why.Msgnow, sol3.refused,l3.stream_failedandl3.not_streamedhave Chinese in the table.Checked
vitest,cargo clippy --all-targets -D warnings,cargo test,cargo fmt --check.twcorev0.28.0 over the control socket: a streaming upstream reports the first token and the usage, an upstream that answers with a whole body fails withl3.not_streamed, a reasoning model's estimate carries the bigger limit, and a ChatGPT account's estimate carries neither a limit nor an amount.🤖 Generated with Claude Code