Skip to content

Conversation

@deansheather
Copy link
Member

Fixes thinking not working for any model proxied via mux-gateway.

@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the thinking feature for models proxied via the mux-gateway provider by adding logic to extract the actual provider and model name from the mux-gateway format ("mux-gateway:provider/model").

Key Changes:

  • Added mux-gateway detection and transformation logic to extract the inner provider and model name
  • Changed variable declaration from const to let to allow reassignment after mux-gateway processing
  • Extracted modelName earlier in the function to reuse it across provider-specific logic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@deansheather deansheather added this pull request to the merge queue Dec 8, 2025
github-merge-queue bot pushed a commit that referenced this pull request Dec 8, 2025
Fixes thinking not working for any model proxied via mux-gateway.
@deansheather deansheather removed this pull request from the merge queue due to a manual request Dec 8, 2025
@deansheather deansheather added this pull request to the merge queue Dec 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 8, 2025
@deansheather deansheather added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit ff3543c Dec 8, 2025
19 checks passed
@deansheather deansheather deleted the dean/mux-gateway-provider-options branch December 8, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant