Skip to content

decode: cannot decode batches with this context (use llama_encode() instead) #2

Closed as duplicate

Description

@slavag

Using with local ollama and getting this error:
decode: cannot decode batches with this context (use llama_encode() instead)
decode: cannot decode batches with this context (use llama_encode() instead)
decode: cannot decode batches with this context (use llama_encode() instead)
decode: cannot decode batches with this context (use llama_encode() instead)

Activity

  1. slavag commented on Jul 12, 2025

    @slavag
    Author

    Hi, I wasnt actually changin the model, it was initial index run.
    Thanks

  2. ofriw commented on Jul 15, 2025

    @ofriw
    Collaborator

    What embedding provider and model are you using? Can you please share your exact config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions