(model: string)
| 55 | * Check if model is in the explicit ChatGPT OAuth allowlist. |
| 56 | */ |
| 57 | export function isChatGptOAuthModelAllowed(model: string): boolean { |
| 58 | return model in OPENROUTER_TO_OPENAI_MODEL_MAP |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Normalize OpenRouter-style model IDs to direct OpenAI model IDs. |
no outgoing calls
no test coverage detected