SupportsModelSwitching reports whether SetAgentModel and AvailableModels are wired for this runtime. Use it to gate UI affordances (e.g. show /model in the menu) without paying the cost of AvailableModels.
()
| 161 | // affordances (e.g. show /model in the menu) without paying the |
| 162 | // cost of AvailableModels. |
| 163 | SupportsModelSwitching() bool |
| 164 | |
| 165 | // OnToolsChanged registers a handler invoked outside of any RunStream |
| 166 | // when a toolset reports a tool list change (e.g. after an MCP |
no outgoing calls
no test coverage detected