Prompt is a validated wrapper for user input and tool-result payloads.
Constructor
{ text: string }{ toolResult: ToolOutcomesType }
PromptConfigurationConflict is thrown if both or neither are set.
Create and normalize user and tool messages for chat calls
Prompt is a validated wrapper for user input and tool-result payloads.
{ text: string }{ toolResult: ToolOutcomesType }PromptConfigurationConflict is thrown if both or neither are set.