Skip to content

Ollama model configuration fails in ollama file ops agent notebook #154

@WW5JS

Description

@WW5JS

The ollama model configuration in 01-tutorials/01-fundamentals/02-model-providers/01-ollama-model/ollama_file_ops_agent.ipynb has broken.

The config wrapper throws an error. Eliminating the config wrapper as below fixes it.

ollama_model = OllamaModel(
    model_id=model_id,
    host="http://localhost:11434",
    max_tokens=4096,
    temperature=0.7,
    top_p=0.9,
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions