Theo Docs
TheoKitTheoKit-SDKTheoUITheo PaaS
API reference

SystemPromptResolver

Resolver function that produces the system prompt dynamically. Receives

SystemPromptResolver

Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.

Resolver function that produces the system prompt dynamically. Receives the SystemPromptContext and returns a string (or a Promise of one).

The SDK does NOT impose a timeout on the resolver — wrap your own Promise.race if you call into slow resources. Errors propagate to the caller of agent.send().

Signature

type SystemPromptResolver

Kind

type

Source

packages/sdk/src/types/agent.ts:179

On this page