pub async fn query(prompt: &str, options: &AgentOptions) -> Result<EventStream>Expand description
Starts a single-turn streaming query using the configured protocol.
Does not execute tools or lifecycle hooks. For conversation history and
automatic tool execution, use Client.