From 64aa99f791b859b8789fc12827093cebf696d1a6 Mon Sep 17 00:00:00 2001 From: Gamosoft Date: Tue, 7 Jul 2026 13:35:47 +0200 Subject: [PATCH] added command line model invocations (to test) --- OLLAMA-STACK.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OLLAMA-STACK.md b/OLLAMA-STACK.md index 4774a04..da63653 100644 --- a/OLLAMA-STACK.md +++ b/OLLAMA-STACK.md @@ -33,8 +33,13 @@ Then open: Quick sanity-check that Ollama is up: ```bash +# List installed models curl http://localhost:11434/api/tags # bash/zsh Invoke-RestMethod http://localhost:11434/api/tags # PowerShell + +# Actually poke the model +curl http://localhost:11434/api/generate -d '{"model":"qwen2.5:1.5b","prompt":"Finish the joke in one short sentence: Why do programmers prefer dark mode? Because...","stream":false}' # bash/zsh +Invoke-RestMethod http://localhost:11434/api/generate -Method Post -Body '{"model":"qwen2.5:1.5b","prompt":"Finish the joke in one short sentence: Why do programmers prefer dark mode? Because...","stream":false}' # PowerShell ``` ## Connect Cursor