给会话换模型
piweb_set_modelSwitch the model a session uses next, starting the session if needed. Use piweb_list_models to find valid provider and model IDs.
Instructions
切换某个会话接下来使用的模型(等价于界面上的模型选择)。会话没在运行时会被拉起来。取值先用 piweb_list_models 查。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | 会话 id / 名称 | |
| model_id | Yes | 模型 id,如 deepseek-flash | |
| provider | Yes | 模型 provider,如 new-api-half / opencode / deepseek |