Files
marqdo/tests/ext/llm-meta-offline.mq.md
T
cflmyandCursor 81a14f9b38 feat(llm): sys.module_source + entry prompt / meta offline paths
Expose entry source via sys.module_source; ask/stream fall back to
prompt_body of the entry document. Add meta-binding and entry-prompt golds.

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

15 lines
339 B
Markdown

---
title: llm meta binding offline
description: Create handle from Artifact Metadata (model / api_key); no network.
type: llm
model: ${env.MARQDO_LLM_META_MODEL ?? "meta-model"}
api_key: ${secret.OPENAI_API_KEY ?? "sk-test"}
import llm:ext/ai/llm.mq.md
---
# main
**h = > llm.llm**
> print text=[model](`h`)
> print text=[api_key](`h`)