Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 523 Bytes
540437a 3eec386 540437a 3eec386 540437a 3eec386 540437a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | /**
* Shared model-id constants used by session-create call sites and the
* ClaudeCapDialog "Use a free model" escape hatch.
*
* Keep in sync with MODEL_OPTIONS in components/Chat/ChatInput.tsx and
* AVAILABLE_MODELS in backend/routes/agent.py.
*/
export const CLAUDE_MODEL_PATH = 'bedrock/us.anthropic.claude-opus-4-6-v1';
export const FIRST_FREE_MODEL_PATH = 'moonshotai/Kimi-K2.6';
export function isClaudePath(modelPath: string | undefined): boolean {
return !!modelPath && modelPath.includes('anthropic');
}
|