LLM Effect
This page is auto-generated from
src/stdlib.rs. Do not edit it by hand — your changes will be overwritten on the next CI run. To add or update a built-in operation, edit theStdLib::new()registry insrc/stdlib.rs.
LLM Effect
Section titled “LLM Effect”The LLM effect provides the following built-in operations, wired into the VM and runtime.
Deprecated since language version 1.0.0-frozen.
LLM.askis deprecated in favor ofperform Provider.ask("llm", prompt), which references a general provider abstraction. TheLLM/LlmAsksurface remains functional for the deprecation cycle (≥2 major versions). New code should useProvider.ask.
| Operation | Signature | Description |
|---|---|---|
LLM.ask |
ask(prompt: String) -> String |
Send the prompt to the configured LLM client and return the reply; suspends non-blockingly when the runtime supports it. |
Implementation site: Runtime Host