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>
15 lines
339 B
Markdown
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`)
|