Skip to content

Local Ollama server is not working. #544

@Alsira

Description

@Alsira

Given this command:
ontogpt extract -m ollama/qwen3 -i Molecular\ cloning\ agarose\ gel\ electrophoresis.txt -t ../../schemas/steps.yaml

I am getting the result:
ERROR:ontogpt.clients.llm_client:API connection error: litellm.APIConnectionError: OllamaException - Illegal header value b'Bearer '
ERROR:ontogpt.clients.llm_client:No response or response is empty.

I have tried setting OPENAI_API_KEY and running runoak set-apikey -e openai "dummy_key".

I think that ontoGPT is trying to send a API key to ollama.

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