* @brief Returns the current model selection for the given provider. */
| 319 | * @brief Returns the current model selection for the given provider. |
| 320 | */ |
| 321 | QString AI::Assistant::currentModel(int providerIdx) const |
| 322 | { |
| 323 | const auto* p = providerAt(providerIdx); |
| 324 | return p ? p->currentModel() : QString(); |
| 325 | } |
| 326 | |
| 327 | /** |
| 328 | * @brief Returns a friendly label for a model id (e.g. "Claude Haiku 4.5"). |
no outgoing calls
no test coverage detected