(model: string)
| 48 | ) as Array<keyof typeof OPENROUTER_TO_OPENAI_MODEL_MAP> |
| 49 | |
| 50 | export function isOpenAIProviderModel(model: string): boolean { |
| 51 | return model.startsWith('openai/') |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Check if model is in the explicit ChatGPT OAuth allowlist. |
no outgoing calls
no test coverage detected