AvailableModels returns the models the user can pick from in the model picker. Returns nil for runtimes that don't expose model switching; see SupportsModelSwitching for a cheap pre-check.
(ctx context.Context)
| 155 | // /model picker. Returns nil for runtimes that don't expose model |
| 156 | // switching; see SupportsModelSwitching for a cheap pre-check. |
| 157 | AvailableModels(ctx context.Context) []ModelChoice |
| 158 | |
| 159 | // SupportsModelSwitching reports whether SetAgentModel and |
| 160 | // AvailableModels are wired for this runtime. Use it to gate UI |
no outgoing calls