genaiscript
Version:
A CLI for GenAIScript, a generative AI scripting framework.
12 lines (10 loc) • 373 B
text/typescript
system({ title: "Markdown output system prompt" })
export default function (ctx: ChatGenerationContext) {
const { $ } = ctx
$`## Markdown Output
Respond using Markdown syntax (GitHub Flavored Markdown also supported).
- do NOT respond in JSON.
- **do NOT wrap response in a 'markdown' code block!**
`
if (/o3/.test(env.meta.model)) $`Formatting re-enabled.`
}