-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathconstants.ts
More file actions
30 lines (26 loc) · 953 Bytes
/
constants.ts
File metadata and controls
30 lines (26 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { type GatewayModelId } from '@ai-sdk/gateway'
export enum Models {
AmazonNovaPro = 'amazon/nova-pro',
AnthropicClaude4Sonnet = 'anthropic/claude-4-sonnet',
AnthropicClaude45Haiku = 'anthropic/claude-haiku-4.5',
AnthropicClaude45Sonnet = 'anthropic/claude-sonnet-4.5',
GoogleGeminiFlash = 'google/gemini-2.5-flash',
MoonshotKimiK2 = 'moonshotai/kimi-k2',
OpenAIGPT5 = 'gpt-5',
XaiGrok3Fast = 'xai/grok-3-fast',
}
export const DEFAULT_MODEL = Models.AnthropicClaude45Sonnet
export const SUPPORTED_MODELS: GatewayModelId[] = [
Models.AmazonNovaPro,
Models.AnthropicClaude4Sonnet,
Models.AnthropicClaude45Haiku,
Models.AnthropicClaude45Sonnet,
Models.GoogleGeminiFlash,
Models.MoonshotKimiK2,
Models.OpenAIGPT5,
Models.XaiGrok3Fast,
]
export const TEST_PROMPTS = [
'Generate a Next.js app that allows to list and search Pokemons',
'Create a `golang` server that responds with "Hello World" to any request',
]