Repository navigation
Refresh model selectors for OpenAI, Anthropic, Gemini and xAI - #192
Merged
Merged
Conversation
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.
Chatbot's model selectors are missing current public models from all four supported chat providers. Refresh the main model IDs across low, medium and high trust and the corresponding vision selectors, plus the available image-generation models.
gpt-6.2-astra,gpt-6.2-sol,gpt-6.1-terragpt-image-2.6-sunburst,gpt-image-2.6-flareclaude-fable-5-2,claude-haiku-5-5gemini-4-carbon,gemini-4-neon,gemini-4-hydrogen,gemini-4-argongemini-nano-banana-2.1grok-4.7Route the new OpenAI models through the existing Responses request path, allowed-tool support and explicit prompt-cache breakpoints. Remove retired selector entries
gpt-4.1-nano,grok-build-0.1andgrok-imagine-image-quality. Keep existing defaults and other model choices; the embedding catalogues were checked and require no additions. No dated model snapshots are added. Bump the plugin patch version to 3.2.1; no database migration.Sources checked on 29 November 2026:
Validation: 18 focused RSpec examples passed in
site_setting_dependencies_spec.rbandllm_client_spec.rb, covering the model lists, shared trust/vision choices, defaults, absence of dated snapshots, Responses routing, allowed tools and cache breakpoints. Ruby formatting/RuboCop, YAML/default/duplicate validation andgit diff --checkpassed. The local test run used a temporary bootstrap selecting Discourse's legacy image backend because the installed libvips is older than the current checkout requires; no production configuration or core files were changed. Live paid provider requests were not made.