| // Model configuration with provider details | |
| export const modelCompanies = [ | |
| { | |
| id: 'deepseek', | |
| name: 'DeepSeek', | |
| logo: 'brain-circuit', | |
| models: [ | |
| { | |
| id: 'deepseek-v3.2-exp', | |
| name: 'DeepSeek V3.2 Exp', | |
| description: 'Latest experimental version', | |
| provider: 'novita', | |
| endpoint: 'deepseek-ai/DeepSeek-V3.2-Exp' | |
| } | |
| ] | |
| }, | |
| { | |
| id: 'zai-org', | |
| name: 'ZAI Org', | |
| logo: 'atom', | |
| models: [ | |
| { | |
| id: 'glm-4.6', | |
| name: 'GLM-4.6', | |
| description: 'Advanced multimodal model', | |
| provider: 'zai-org', | |
| endpoint: 'zai-org/GLM-4.6' | |
| } | |
| ] | |
| } | |
| ]; | |
| // Helper functions | |
| export const allModels = modelCompanies.flatMap(company => | |
| company.models.map(model => ({ | |
| ...model, | |
| company: company.name, | |
| companyLogo: company.logo | |
| })) | |
| ); | |
| export const findModelById = (modelId) => { | |
| return allModels.find(model => model.id === modelId); | |
| }; |