Skip to content

[Feature] Default Terminus2Adapter model to openai/ route#351

Merged
Harold-lkk merged 1 commit into
InternLM:v1.0.0from
liujiangning30:ljn/terminus2-model-prefix
Jun 18, 2026
Merged

[Feature] Default Terminus2Adapter model to openai/ route#351
Harold-lkk merged 1 commit into
InternLM:v1.0.0from
liujiangning30:ljn/terminus2-model-prefix

Conversation

@liujiangning30

Copy link
Copy Markdown
Collaborator
  • Prefix openai/ when model has no known LiteLLM provider segment
  • Detect provider via litellm.provider_list, not a naive "/" check
  • Normalize in setup() so module import stays litellm-free; idempotent

- Prefix openai/ when model has no known LiteLLM provider segment
- Detect provider via litellm.provider_list, not a naive "/" check
- Normalize in setup() so module import stays litellm-free; idempotent
@Harold-lkk Harold-lkk merged commit a79caec into InternLM:v1.0.0 Jun 18, 2026
1 check failed
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.

2 participants