Skip to content

Conversation

@aibrahim-oai
Copy link
Collaborator

Expose collaboration presets for clients

@aibrahim-oai
Copy link
Collaborator Author

@codex review

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ecc46e11c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +14 to +17
fn plan_preset() -> CollaborationMode {
CollaborationMode::Plan(Settings {
model: "gpt-5.2-codex".to_string(),
reasoning_effort: Some(ReasoningEffort::Medium),
Copy link
Contributor

Choose a reason for hiding this comment

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

P2 Badge Seed collaboration presets from configured default model

The presets returned by collaborationMode/list hardcode gpt-5.2-codex, so a user who has changed their default model (e.g., via setDefaultModel) will still receive presets that point to gpt-5.2-codex. Any client that applies the preset wholesale will silently override the user’s chosen model, which is inconsistent with the rest of the server configuration flow and the comment in the manager about using the configured model. Consider deriving the preset model from the current config/default model instead of hardcoding it.

Useful? React with 👍 / 👎.

Clarify the collaboration mode list contract so defaults and ordering are explicit.
This is documentation-only and does not change behavior.
@joshka-oai joshka-oai force-pushed the collaporation/presets branch from 27b0f3e to a1dafae Compare January 17, 2026 20:05
@joshka-oai
Copy link
Collaborator

Pushed a fix for the formatting / small extra docs on the tests based on codex telling me that this would break if the API call changed.

@aibrahim-oai aibrahim-oai merged commit 8f0e030 into main Jan 17, 2026
49 of 53 checks passed
@aibrahim-oai aibrahim-oai deleted the collaporation/presets branch January 17, 2026 20:32
@github-actions github-actions bot locked and limited conversation to collaborators Jan 17, 2026
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