Expand description
Authentication utilities for managing API keys and authorization tokens.
Functionsยง
- load_
api_ key_ from_ env - Attempts to load an API key from environment variables. Checks for OPENROUTER_API_KEY and OR_API_KEY.
- validate_
api_ key - Validates an API key format. Basic validation to check if the key is non-empty and has a reasonable length.