Skip to content

Ollama: The context field is deprecated and will be removed in a future version #375

Open
@daxian-dbw

Description

@daxian-dbw

Summary of the new feature / enhancement

Today the Ollama agent uses the context field for preserving history of a chat. The Ollama server 0.5.13 writes out warning about using this field:

[GIN] 2025/04/23 - 13:05:47 | 200 | 9.6578815s | 127.0.0.1 | POST "/api/generate"
time=2025-04-23T13:06:59.988-07:00 level=WARN source=routes.go:274 msg="the context field is deprecated and will be removed in a future version of Ollama"

So, the agent needs to be updated with a different way to handle chat history.

Proposed technical implementation details (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions