Skip to content

fix: accept the model identifier the dashboard shows - #384

Merged
Priyanshu-u07 merged 1 commit into
mainfrom
fix/model-id-lookup
Oct 5, 2026
Merged

Priyanshu-u07 merged 1 commit into
mainfrom
fix/model-id-lookup

Conversation

@Priyanshu-u07

Copy link
Copy Markdown
Collaborator

The deploy form writes the deployment's name into model_name, and the lookup matched model_name and llmd_resource_name only. inference_model holds the model id and is what the dashboard renders in its Model column, so the one identifier a user could see was the one that returned 401.

The miss also reported one message for two unrelated failures. A key bound to a deployment that no longer exists now says that; an org-scoped miss names the model and type it looked for.

One known limitation: matching inference_model makes the lookup ambiguous when two deployments in an org run the same model. The query takes the first row, so it picks arbitrarily. That was already possible via model_name, but this makes it likely rather than theoretical.
closes #382

Signed-off-by: Priyanshu-u07 <connect.priyanshu8271@gmail.com>
@Priyanshu-u07
Priyanshu-u07 merged commit 525acfe into main Oct 5, 2026
1 check 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.

The dashboard shows one model identifier and the API accepts a different one

1 participant