Repository navigation
Conversation
[Medium impact] Safe to merge within the reviewed scope; no blocking or non-blocking defects were found. SummaryAdds Focused checks passed: both Terra tests, all 23 model tests, and all 10 pricing tests. A before-and-after contract check confirmed fallback membership, preservation of the default, and the expected returned pricing values for omitted, standard, flex, and priority tiers. Account-specific catalogs retain precedence over the fallback list. No actionable issues found. This change is safe to merge within the reviewed scope. No live OpenAI request was made, so account access and live model availability remain unverified. The published upstream rates were not independently verified. Aafimalek explicitly excluded long-context and cache-write charges in the PR description; those exclusions are intentional and are not reported as issues. T-Rex validation blockedEvidence publication only: execution completed successfully, but no artifact upload/publication operation or configured upload destination was available. Executed sources and observed output remain available locally.
Reviews (1) · Last reviewed commit: "fix(provider): include GPT-6.1 Terra" · Reviewed by Greptile |
Problem
Closes #1997.
GPT-6.1 Terra is missing from the fallback OpenAI model list and has no public API cost estimate. Add it to the list without changing the default, and add OpenAI's published standard, flex and fast short-context reference rates.
The account-specific live catalog still controls availability when present. The existing GPT-6 fallback supplies a 1M context limit. The pricing estimates do not include long-context or cache-write charges.
Source: https://developers.openai.com/api/docs/models/gpt-6.1-terra
Validation
cargo test --locked -p jcode-provider-core --features tokio-tungstenite/handshake— 192 passed, 1 ignored.cargo clippy --locked -p jcode-provider-core --all-targets --features tokio-tungstenite/handshake— completed with two existingneedless_returnwarnings injcode-storageon Windows. With-D warningsthose warnings fail the check.rustfmt --check --edition 2024for both changed files;git diff --check.No live OpenAI request was made; model access and account-specific catalog availability were not verified.