IsSmallFastModel checks if the model is a small/fast model (Haiku 3.5). These models are optimized for tasks like code autocomplete and other small, quick operations. See `ANTHROPIC_SMALL_FAST_MODEL`: https://docs.anthropic.com/en/docs/claude-code/settings#environment-variables https://docs.claude.c
()
| 202 | // See `ANTHROPIC_SMALL_FAST_MODEL`: https://docs.anthropic.com/en/docs/claude-code/settings#environment-variables |
| 203 | // https://docs.claude.com/en/docs/claude-code/costs#background-token-usage |
| 204 | func (i *interceptionBase) isSmallFastModel() bool { |
| 205 | return strings.Contains(i.reqPayload.model(), "haiku") |
| 206 | } |
| 207 | |
| 208 | // newMessagesService builds the SDK service used for upstream |
| 209 | // calls. BYOK auth is set here. Centralized auth is set |
no test coverage detected