docs: Mintlify MDX docs + docs.json; bump Speakeasy to 1.787.0 (#382)

This commit is contained in:
Matt Apperson
2026-06-30 16:13:28 -04:00
committed by GitHub
parent 778e2e36fb
commit babeffc9aa
2100 changed files with 50407 additions and 16612 deletions
+36
View File
@@ -0,0 +1,36 @@
---
title: "Code"
---
## Example Usage
```python
from openrouter.components import Code
# Open enum: unrecognized values are captured as UnrecognizedStr
value: Code = "server_error"
```
## Values
This is an open enum. Unrecognized values will not fail type checks.
- `"server_error"`
- `"rate_limit_exceeded"`
- `"invalid_prompt"`
- `"vector_store_timeout"`
- `"invalid_image"`
- `"invalid_image_format"`
- `"invalid_base64_image"`
- `"invalid_image_url"`
- `"image_too_large"`
- `"image_too_small"`
- `"image_parse_error"`
- `"image_content_policy_violation"`
- `"invalid_image_mode"`
- `"image_file_too_large"`
- `"unsupported_image_media_type"`
- `"empty_image_file"`
- `"failed_to_download_image"`
- `"image_file_not_found"`