Skip to content

fix(types): preserve projector_info on ShowResponse - #729

Draft
seethinajayadileep wants to merge 1 commit into
ollama:mainfrom
seethinajayadileep:fix/show-response-projector-info
Draft

fix(types): preserve projector_info on ShowResponse#729
seethinajayadileep wants to merge 1 commit into
ollama:mainfrom
seethinajayadileep:fix/show-response-projector-info

Conversation

@seethinajayadileep

Copy link
Copy Markdown

Summary

  • Multimodal /api/show responses can include projector_info
  • ShowResponse did not declare the field, so it was dropped on parse
  • Add optional projector_info and a regression test

Test plan

  • pytest tests/test_type_serialization.py::test_show_response_preserves_projector_info
  • Confirm client.show() retains projector_info for a multimodal model when present

Fixes #346

Multimodal /api/show responses may include projector_info. ShowResponse
did not declare the field, so Pydantic silently dropped it.

Fixes ollama#346

Signed-off-by: JAYA DILEEP <seethinajayadileep@hotmail.com>
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.

Missing "projector_info" key and others in ollama.show() dictionary output for version 0.4.1

1 participant