setModel

abstract suspend fun setModel(config: ModelConfig): AgentAPI(source)

更新 agent 使用的大模型,下次请求立即生效。

要获取当前的大模型配置,请访问 model