Hansson0728
Hansson0728
i did something like this to try and catch the inner error: if ($obj.Value.Powershell.HadErrors -and ($obj.Value.Powershell.Streams.Error.count -eq 0)) { Try { $Obj.Value.Powershell.endinvoke($Obj.Value.Handle) } catch { $errorstream = $_.Exception.InnerException.ErrorRecord } }...
if i send an empty request i get a 400 curl -X POST http://localhost:11434/api/embeddings -d '{}' then i send with a model curl -X POST http://localhost:11434/api/embeddings -d '{"model":"nomic-embed-text"}' i get...
nothing..... :/ i do know it worked before last update thóugh
i tried 0.1.29 preview and its working as expected again.
iam sorry i have to reopen this, something is sttill wrong, its not at all stable... i have notice if i set the Option Num_ctx to high. Ollama crashes instead...
``` 2024-03-12 12:47:16 {"function":"initialize","level":"INFO","line":434,"msg":"initializing slots","n_slots":1,"tid":"139642842101312","timestamp":1710244036} 2024-03-12 12:47:16 {"function":"initialize","level":"INFO","line":443,"msg":"new slot","n_ctx_slot":256,"slot_id":0,"tid":"139642842101312","timestamp":1710244036} 2024-03-12 12:47:16 {"function":"update_slots","level":"INFO","line":1584,"msg":"all slots are idle and system prompt is empty, clear the KV cache","tid":"139641206572608","timestamp":1710244036} 2024-03-12 12:47:16 [GIN] 2024/03/12 - 11:47:16...
iam using the docker image: running this: $ apt-get install locales $ locale-gen en_US.UTF-8 $ update-locale LANG=en_US.UTF-8 fixes the error
Probably related to the timeout that unloads the model after 5 min
Merge #2410 :)
If you dont send in messages there is No context