Skip to content

Extract model name from /models endpoints#6

Merged
wyenox merged 2 commits into
mainfrom
extract-model-name
Feb 10, 2026
Merged

Extract model name from /models endpoints#6
wyenox merged 2 commits into
mainfrom
extract-model-name

Conversation

@wyenox
Copy link
Copy Markdown
Collaborator

@wyenox wyenox commented Feb 10, 2026

Intro

Although, OpenAI itself doesn't give us anything except for model ids, other providers like OpenRouter, Gemini, Anthropic, etc extend the definition to expose more information about the models. A common information exposed is the human readable name of the model.

Changes

This PR recognizes different attributes that are considered to be "human readable names" in the response from /models, using them to set the name field in bots.

@wyenox wyenox merged commit 15c604e into main Feb 10, 2026
12 checks passed
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