(model: string)
| 238 | return !checkOpus1mAccess() && !isOpus1mMergeEnabled() && m.includes('opus') && m.includes('[1m]'); |
| 239 | } |
| 240 | function isSonnet1mUnavailable(model: string): boolean { |
| 241 | const m = model.toLowerCase(); |
| 242 | // Warn about Sonnet and Sonnet 4.6, but not Sonnet 4.5 since that had |
| 243 | // a different access criteria. |
| 244 | return !checkSonnet1mAccess() && (m.includes('sonnet[1m]') || m.includes('sonnet-4-6[1m]')); |
| 245 | } |
| 246 | function ShowModelAndClose(t0) { |
| 247 | const { |
| 248 | onDone |
no test coverage detected