Skip to content

bodhi-realtime-agent / resolveInstructions

Function: resolveInstructions() ​

resolveInstructions(agent): string

Defined in: src/agent/agent-context.ts:55

Resolve an agent's effective system instruction, including language directive if configured. Evaluates the instruction (static string or factory function) and prepends a language directive when agent.language is set.

Parameters ​

agent ​

MainAgent

Returns ​

string

Built with VitePress