Skip to content

Automatically appends :11434 to ollama URL #3988

@Tomas622

Description

@Tomas622

Describe the bug

I have my ollama server running in the cloud, with a URL that points directly into the instance without needing to specify port. However, even when I set OLLAMA_HOST to my URL, Goose still adds the port to requests, which breaks the request.

To Reproduce
Steps to reproduce the behavior:

  1. Use an ollama endpoint in a docker container or sectioned off some other way
  2. Have a URL that forwards into the correct port
  3. Set it as OLLAMA_HOST

Expected behavior
It should either not append the port, or give the option in configuration to not append the port.

Screenshots

Image

Please provide following information:

  • OS & Arch: MacOS Sequoia 15.3.2
  • Interface: CLI
  • Version: 1.2.0
  • Extensions enabled: N/A
  • Provider & Model: Ollama - qwen2.5-coder:14b-instruct

Metadata

Metadata

Assignees

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