Closed zeozeozeo closed 7 months ago
This makes Ollama store URLs instead of URIs (since Ollama can be mounted anywhere with a reverse proxy, ex: http://example.com/path/to/ollama).
Ollama
http://example.com/path/to/ollama
I'm not quite sure if .into() will panic, so maybe the # Panics section in docstrings should be removed.
.into()
# Panics
This does not break any old APIs, only adds new ones:
Ollama::from_url
Ollama::url
Ollama::url_str
Ollama:new_with_history_from_url
Ollama::try_new_with_history
Ollama::try_new
Closes #44
Thanks for your contribution!
This makes
Ollama
store URLs instead of URIs (since Ollama can be mounted anywhere with a reverse proxy, ex:http://example.com/path/to/ollama
).I'm not quite sure if
.into()
will panic, so maybe the# Panics
section in docstrings should be removed.This does not break any old APIs, only adds new ones:
Ollama::from_url
Ollama::url
Ollama::url_str
Ollama:new_with_history_from_url
Ollama::try_new_with_history
Ollama::try_new
Closes #44