( charIndex: number, shimmer: boolean = false, )
| 78 | ] |
| 79 | |
| 80 | export function getRainbowColor( |
| 81 | charIndex: number, |
| 82 | shimmer: boolean = false, |
| 83 | ): keyof Theme { |
| 84 | const colors = shimmer ? RAINBOW_SHIMMER_COLORS : RAINBOW_COLORS |
| 85 | return colors[charIndex % colors.length]! |
| 86 | } |
| 87 | |
| 88 | // TODO(inigo): add support for probing unknown models via API error detection |
| 89 | // Provider-aware thinking support detection (aligns with modelSupportsISP in betas.ts) |
no outgoing calls
no test coverage detected