t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: That model is already built in error when custom model collides with known slag

Open S4AR-inc opened this issue 4 months ago • 0 comments

Before submitting

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

Area

packages/contracts or packages/shared

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. Try adding "opus" as a model in t3 code

Expected behavior

You could add "opus", could be with a warning

Actual behavior

You get "That model is already built in." error

Impact

Blocks work completely

Version or commit

0.0.28

Environment

Window 10 connected to linux with claude code connected to litellm

Logs or stack traces


Screenshots, recordings, or supporting files

No response

Workaround

Finding and removing the offending slag in MODEL_SLUG_ALIASES_BY_PROVIDER in the transpiled js

S4AR-inc avatar Jul 16 '26 16:07 S4AR-inc