(apiId: string)
| 543 | const GPT5_VERSIONED_PRO_RE = /(?:^|\/)gpt-5[.-]\d+[.-]pro(?:[.-]|$)/ |
| 544 | |
| 545 | function gpt5Version(apiId: string) { |
| 546 | return Number(GPT5_VERSION_RE.exec(apiId)?.[1]) || undefined |
| 547 | } |
| 548 | |
| 549 | function versionedGpt5ReasoningEfforts(apiId: string) { |
| 550 | if (GPT5_VERSIONED_PRO_RE.test(apiId)) return OPENAI_GPT5_PRO_2_PLUS_EFFORTS |
no outgoing calls
no test coverage detected