Skip to main content

create_runtime_and_client

Function create_runtime_and_client 

Source
pub fn create_runtime_and_client(
    provider: &ModelProvider,
) -> Result<(Runtime, LlmClient), String>
Expand description

创建 tokio runtime 和 LlmClient

供 run_sub_agent_loop 和 run_teammate_loop 共用。