Repository navigation
Replies: 2 comments 2 replies
|
I find this very unspecific. What does this even mean?
Please try to be more specific so I might be able to infer what you mean. |
|
@RobinSEC From what I can tell, this is more of an Ollama API limitation than an OllamaSharp one. The Ollama API returns errors as JSON with an {
"error": "failed to load model: out of memory"
}or {
"error": "the model failed to generate a response"
}So if OllamaSharp only exposes If the response body is not available, then I suspect the library is currently discarding the API's error payload and only propagating the HTTP status. In that case, it would be a worthwhile enhancement for OllamaSharp to include the server's As a workaround while debugging, you could also:
One question: which exception type are you actually receiving from OllamaSharp? If you can share the exception type and its full contents (including any If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
In ollama client it tells you if you are trying to load to many images or the model is to large for the available member etc however I cant seem to find those reasons while using OllamaSharp. Could be quite useful to know why ollama is skipping me. Is it available in ollamasharp and am i not looking in the right place?
All reactions