Skip to content

llm models throwing ValidationError for certain ollama models. #1330

@iqbalabd

Description

@iqbalabd

When I pull certain models from ollama such as:

ollama pull glm-4.7:cloud

and when I run llm models, I get this error:

pydantic_core._pydantic_core.ValidationError: 1 validation error for ShowResponse
model_info
  Field required [type=missing, input_value={'modelfile': '# Modelfil...:50:16.420863559+08:00'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.11/v/missing

When I remove that model, llm models work as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions