|
1 | 1 | import { ModelInfo, ProviderName, ProviderSettings } from "../schemas" |
2 | | -import { REASONING_MODELS } from "../api/providers/constants" |
3 | | - |
4 | | -export { REASONING_MODELS } |
5 | 2 |
|
6 | 3 | export type { ModelInfo, ProviderName as ApiProvider } |
7 | 4 |
|
@@ -1396,3 +1393,32 @@ export const vscodeLlmModels = { |
1396 | 1393 | maxInputTokens: number |
1397 | 1394 | } |
1398 | 1395 | > |
| 1396 | + |
| 1397 | +/** |
| 1398 | + * Constants |
| 1399 | + */ |
| 1400 | + |
| 1401 | +export const REASONING_MODELS = new Set(["x-ai/grok-3-mini-beta", "grok-3-mini-beta", "grok-3-mini-fast-beta"]) |
| 1402 | + |
| 1403 | +export const PROMPT_CACHING_MODELS = new Set([ |
| 1404 | + "anthropic/claude-3-haiku", |
| 1405 | + "anthropic/claude-3-haiku:beta", |
| 1406 | + "anthropic/claude-3-opus", |
| 1407 | + "anthropic/claude-3-opus:beta", |
| 1408 | + "anthropic/claude-3-sonnet", |
| 1409 | + "anthropic/claude-3-sonnet:beta", |
| 1410 | + "anthropic/claude-3.5-haiku", |
| 1411 | + "anthropic/claude-3.5-haiku-20241022", |
| 1412 | + "anthropic/claude-3.5-haiku-20241022:beta", |
| 1413 | + "anthropic/claude-3.5-haiku:beta", |
| 1414 | + "anthropic/claude-3.5-sonnet", |
| 1415 | + "anthropic/claude-3.5-sonnet-20240620", |
| 1416 | + "anthropic/claude-3.5-sonnet-20240620:beta", |
| 1417 | + "anthropic/claude-3.5-sonnet:beta", |
| 1418 | + "anthropic/claude-3.7-sonnet", |
| 1419 | + "anthropic/claude-3.7-sonnet:beta", |
| 1420 | + "anthropic/claude-3.7-sonnet:thinking", |
| 1421 | + // "google/gemini-2.0-flash-001", |
| 1422 | + // "google/gemini-flash-1.5", |
| 1423 | + // "google/gemini-flash-1.5-8b", |
| 1424 | +]) |
0 commit comments