Skip to content

Env var OLLAMA_BASE_URL is inconsistent with actual Ollama-held env var name #1940

Description

@sealad886

Graphfy uses OLLAMA_BASE_URL to configure a custom API target here:

"base_url": os.environ.get("OLLAMA_BASE_URL", "http://localhost:11434/v1"),

However, Ollama defines the OLLAMA_HOST env var and doesn't actually have a OLLAMA_BASE_URL concept at all:

Ollama Documentation How Do I Configure Ollama Server


Expected behavior:
Graphify should re-use the Ollama env vars so that custom configuration is automatically picked up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions