Example Usage
import (
"github.com/OpenRouterTeam/go-sdk/models/components"
)
value := components.ModalityText
// Open enum: custom values can be created with a direct type cast
custom := components.Modality("custom_value")
Values
| Name | Value |
|---|---|
ModalityText | text |
ModalityImage | image |
ModalityAudio | audio |