GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: Claude doesn't use custom model when the name collides with a model alias · Issue #22326 · pingdotgg/t3code

[Bug]: Claude doesn't use custom model when the name collides with a model alias #22326

New issue
Copy link
New issue
Copy link
Closed
#34938
Closed
[Bug]: Claude doesn't use custom model when the name collides with a model alias#22326
#34938
Copy link
Labels
bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

Description

@S4AR-inc
S4AR-inc
opened on Oct 20, 2026
Issue body actions

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Run litellm proxy(or any other proxy/model runner with custom naming) and configure a model with the name "opus"
  2. Configure Claude code to the litellm url
  3. Add "opus" as a model in t3 code
  4. Send a message, the message will be sent to opus-5-5 and you should get an error

Expected behavior

The message should use that custom model instead of resolving an opus alias

Actual behavior

The request is sent to opus-5-5. This is caused because ClaudeAdapterV2 makeClaudeQueryOptions doesn't pass a catalog to compileClaudeModelSelection. This causes resolveClaudeCatalogApiModelId to resolve opus-5-5 from the bundled catalog and fallback to model name when not found so it works when the custom model name doesn't collide with an alias.

ClaudeTextGeneration makeClaudeTextGeneration does work correctly by calling scopeClaudeModelCatalog which solves the alias problem

Impact

Blocks work completely

Version or commit

0.1.0

Environment

Linux

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Claude patched the binary for me changing the opus alias to xpus

Activity

  1. S4AR-inc
    added
    bugSomething is broken or behaving incorrectly.
    needs-triageIssue needs maintainer review and initial categorization.
    on Oct 20, 2026
  2. S4AR-inc
    changed the title [-][Bug]:[/-] [+][Bug]: Claude doesn't use custom model when the name collides with a model alias[/+] on Oct 20, 2026
  3. juliusmarminge commented on Oct 21, 2026

    @juliusmarminge
    juliusmarminge
    on Oct 21, 2026 – with GitCafe Production
    Member
    More actions

    Reproduced on Linux, main 70e5e384da, web dev app with Claude CLI 2.1.303. Added custom opus, selected it in a fresh thread, and sent a message through a local recording proxy. The proxy received claude-opus-5-5; custom xpus reached it unchanged.

    Request transcript

    Custom opus selected; proxy receives claude-opus-5-5

  4. juliusmarminge
    closed this as completedin #34938on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.