Skip to content

embed: MODEL line names the embedding model - #6

Merged
midagedev merged 1 commit into
mainfrom
fix/embed-model-line
Oct 15, 2026
Merged

midagedev merged 1 commit into
mainfrom
fix/embed-model-line

Conversation

@midagedev

Copy link
Copy Markdown
Owner

A side seat embeds beside the chat model, but the MODEL line came from /props model_path, so it showed the chat model (reported on bloomery #190).

The line now uses the response's model, else --model, else the single embedding entry when /v1/models lists several. Test covers both with a two-model /v1/models fixture. ./scripts/check.sh passes.

…s reports

A side seat answers beside the server's chat model, so /props model_path named
the wrong model. Take the answer's "model", else --model, else the one
embedding entry of a multi-model /v1/models.
@midagedev
midagedev merged commit aa1a917 into main Oct 15, 2026
3 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