Introduced a new function `check_api_key_prefix` to validate API key prefixes against their associated providers. This helps catch mismatches early in the process. Added unit tests to ensure correct functionality for various scenarios, including known and unknown key formats. This enhancement improves error handling and user guidance when incorrect provider keys are used. |
||
|---|---|---|
| .. | ||
| anthropic.rs | ||
| bedrock.rs | ||
| compatible.rs | ||
| copilot.rs | ||
| gemini.rs | ||
| glm.rs | ||
| mod.rs | ||
| ollama.rs | ||
| openai_codex.rs | ||
| openai.rs | ||
| openrouter.rs | ||
| reliable.rs | ||
| router.rs | ||
| telnyx.rs | ||
| traits.rs | ||