Files
openrouter-python-sdk-retry…/docs/models/codeenum.md
T
Matt Apperson 5fc522c72f Initial commit: OpenRouter Python SDK
Auto-generated Python SDK for OpenRouter API, providing comprehensive client library with:
- Chat completions and streaming support
- Embeddings API
- Model and provider information
- API key management
- Analytics and usage tracking
- OAuth authentication flows
- Full type hints and error handling
2025-11-13 10:56:25 -05:00

1.4 KiB

CodeEnum

Values

Name Value
SERVER_ERROR server_error
RATE_LIMIT_EXCEEDED rate_limit_exceeded
INVALID_PROMPT invalid_prompt
VECTOR_STORE_TIMEOUT vector_store_timeout
INVALID_IMAGE invalid_image
INVALID_IMAGE_FORMAT invalid_image_format
INVALID_BASE64_IMAGE invalid_base64_image
INVALID_IMAGE_URL invalid_image_url
IMAGE_TOO_LARGE image_too_large
IMAGE_TOO_SMALL image_too_small
IMAGE_PARSE_ERROR image_parse_error
IMAGE_CONTENT_POLICY_VIOLATION image_content_policy_violation
INVALID_IMAGE_MODE invalid_image_mode
IMAGE_FILE_TOO_LARGE image_file_too_large
UNSUPPORTED_IMAGE_MEDIA_TYPE unsupported_image_media_type
EMPTY_IMAGE_FILE empty_image_file
FAILED_TO_DOWNLOAD_IMAGE failed_to_download_image
IMAGE_FILE_NOT_FOUND image_file_not_found