File size: 479 Bytes
dff2be9
 
 
 
8cfdcec
dff2be9
8cfdcec
dff2be9
8cfdcec
 
 
 
892ec4a
d0b7728
8cfdcec
 
 
892ec4a
8cfdcec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * List here only the model IDs your endpoint exposes.
 * Add/remove freely – nothing else in the codebase cares.
 */
export type ModelID = string;

let modelsCache: string[] | null = null;

export async function getModels(): Promise<string[]> {
  if (modelsCache) {
    return modelsCache;
  }
  modelsCache = ["deepseek-ai/DeepSeek-R1-0528"];
  return modelsCache;
}

export async function getDefaultModel(): Promise<ModelID> {
  return "deepseek-ai/DeepSeek-R1-0528";
}