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

# ChatRequestStop

Stop sequences (up to 4)

## Supported Types

###

```go theme={null}
chatRequestStop := components.CreateChatRequestStopStr(string{/* values here */})
```

###

```go theme={null}
chatRequestStop := components.CreateChatRequestStopArrayOfStr([]string{/* values here */})
```

## Union Discrimination

Use the `Type` field to determine which variant is active, then access the corresponding field:

```go theme={null}
switch chatRequestStop.Type {
	case components.ChatRequestStopTypeStr:
		// chatRequestStop.Str is populated
	case components.ChatRequestStopTypeArrayOfStr:
		// chatRequestStop.ArrayOfStr is populated
}
```
