> ## Documentation Index
> Fetch the complete documentation index at: https://si.easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ModelSwitchSource

> Represents what initiated a model switch.

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks

**Inheritance:** System.Enum

## Syntax

```csharp theme={"dark"}
CloudNimble.ClaudeEssentials.Hooks.ModelSwitchSource
```

## Summary

Represents what initiated a model switch.

## Values

| Name | Value | Description |
| - | - | - |
| `Command` | 0 | A command, such as <c>/model</c>, or the configuration UI. |
| `Picker` | 1 | An interactive model picker. |
| `Sdk` | 2 | A headless request from the SDK, Remote Control, or an IDE. |
| `Auto` | 3 | An automatic fallback. Reported only after the switch. |
| `Resume` | 4 | Resuming a session. Reported only after the switch. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.