Skip to content

Ollama URL normalization (leading to issues like #5007) does not clean trailing /Β #6078

@Naam

Description

@Naam

App Version

Latest

API Provider

Anthropic

Model Used

N/A

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

See #5007 for more details, it leads people into a lot of confusion (myself included, until the issue was root-caused).

Image

Does not work, show an issue aboud embedding.

Image

works, no issues, difference is the single /

Trailing / in Ollama API URL are not sanitized and will result in API call failures being hidden by unrelated errors about the model not supporting embedding.

πŸ’₯ Outcome Summary

Trailing / in the Ollama API URL is not sanitized and will result in API call failures being hidden by unrelated errors about the model not supporting embedding.

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

Labels

Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions