AskStructuredOptions
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/runtime/askStructured.ts:36
Inputs to askStructured. The caller supplies the model (via config), the two message
texts, and an optional timeout — the Zod schema is a separate positional argument so <T> can
be inferred from it.
Properties
Section titled “Properties”config
Section titled “config”config:
GthConfig
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/runtime/askStructured.ts:37
system
Section titled “system”system:
string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/runtime/askStructured.ts:39
System-message text (instructions). May be empty.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/runtime/askStructured.ts:43
Wall-clock budget in ms. Default ASK_STRUCTURED_DEFAULT_TIMEOUT_MS (30_000).
user:
string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/runtime/askStructured.ts:41
Human-message text (the actual content/question).