# InteractionState enum

Namespace: [Grasshopper2.Components.Descriptive](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.components.descriptive.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum InteractionState
```

Phase the conversation loop is currently in. Tracked on [InteractionStatistics](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.descriptive.interactionstatistics.md) so the component's attributes can render different visual states (icon, colour, label).

## Values

| Name | Value | Description |
| --- | --- | --- |
| Idle | 0 | Nothing in progress -- conversation hasn't started, or finished long ago. |
| CallingModel | 1 | HTTP call to the LLM provider is in flight. |
| LookingUpDocs | 2 | The model invoked the symbol-lookup tool; we're returning the hits. |
| LookingUpExample | 3 | The model invoked the example-fetch tool; we're returning the example. |
| AwaitingClarification | 4 | A clarification dialog is open and we're waiting for the user. |
| Compiling | 5 | Roslyn is compiling source the model just submitted. |
| Done | 6 | Generation finished successfully -- a fresh Logic was assigned. |
| AbortedByUser | 7 | User cancelled (closed a dialog, dismissed a sign-in, etc.). |
| AbortedByModel | 8 | Model invoked the Abandonment tool, signalling it cannot fulfil the request. |
| AbortedMessageBudget | 9 | Hit the per-conversation message cap without producing working code. |
| AbortedDocsBudget | 10 | Hit the per-conversation docs-lookup cap -- the model was probably stuck searching. |
| Failed | 11 | An unhandled exception propagated out of the conversation loop. |
