---
title: "Logic"
---

## Example Usage

```python
from openrouter.components import Logic

# Open enum: unrecognized values are captured as UnrecognizedStr
value: Logic = "and"
```


## Values

This is an open enum. Unrecognized values will not fail type checks.

- `"and"`
- `"or"`
