sivaramn

Results 7 comments of sivaramn

that's exactly the same kind of messages I'm seeing. The funny thing is, the first q I hit RET, it works sometimes and then everything afterwards goes wonky with the...

` curl http://localhost:11434/api/tags` returns the list of locally installed models; can this be used to get models list instead of manually/hardcoding model names? (defun retrieve-json-payload () "Retrieve JSON payload from...

> Nice idea. Needs some infrastructure work to figure out when to call this in model-agnostic way. Mind filing a separate feature request to automatically populate ollama models from http://localhost:11434/api/tags?...

with `chatgpt-shell v2.0.10` and only these config entries, I get an error `(setq chatgpt-shell-ollama-api-url-base "http://172.x.x.x.:11434")` `(setq chatgpt-shell-models '("qwen2.5-coder:14b" "minicpm-v:latest" "llama3.2-vision:latest" )) ` Debugger entered--Lisp error: (error "Could not find a...

with this change ```emacs-lisp (setq chatgpt-shell-models (list (chatgpt-shell-ollama-make-model :version "qwen2.5-coder:14b" :token-width 4 ;; approx chars per token :context-window 32768) (chatgpt-shell-ollama-make-model :version "llama3.2-vision:latest" :token-width 4 ;; approx chars per token :context-window...

> (setq shell-maker-logging t) ``` Async Command v2 (curl http://172.18.x.x:11434/api/chat --fail-with-body --no-progress-meter -m 600 -d @c:/Users/sivar/AppData/Local/Temp/shell-maker/curl-data) Stderr curl: (22) The requested URL retu Filter pending nil Filter output {"error":"invalid character...

> Deos this run on the command line? `curl http://172.18.x.x:11434/api/chat --fail-with-body --no-progress-meter -m 600 -d @c:/Users/sivar/AppData/Local/Temp/shell-maker/curl-data` ``` curl http://172.18.16.1:11434/api/chat --fail-with-body --no-progress-meter -m 600 -d @c:/Users/sivar/AppData/Local/Temp/shell-maker/curl-data {"model":"qwen2.5-coder:14b","created_at":"2024-11-27T16:43:59.7996511Z","message":{"role":"assistant","content":"I"},"done":false} {"model":"qwen2.5-coder:14b","created_at":"2024-11-27T16:44:00.2362922Z","message":{"role":"assistant","content":" am"},"done":false} ``` on...