Files
marqdo/tests/ext/llm-named-offline.mq.md
T
cflmyandCursor d8d435fead feat(ai-stack): metrics, named handles, prompt docs, backends, zero-LLM
Finish ai-stack steps 1–5: model_turn usage, fast/reasoning, type:prompt
load, openai/ollama split, and agent-zero-llm gold. Fix compiled-skill
Marqdo syntax so llm_free await no longer falls through to plan+HTTP.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 19:30:25 +08:00

782 B


title: llm named handles + prompt_load offline description: fast/reasoning names, ollama backend tag, and type:prompt body load; no network. import llm:ext/ai/llm.mq.md import text:lib/text.mq.md

main

fast = > llm.fast model="qwen-fast-test"

print text=name print text=model

reason = > llm.reasoning model="gpt-reason-test"

print text=name print text=model

ollama = > llm.create backend="ollama" model="llama3.2"

print text=backend print text=model

prompt = > llm.prompt_load path="fixtures/prompt-marqdo.md" has = > text.contains text=prompt sub="Explain Marqdo" no_fm = > text.contains text=prompt sub="type: prompt"

print text=has print text=no_fm