-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.ts
31 lines (26 loc) · 869 Bytes
/
config.ts
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
31
// This file sets up the configuration for using DeepSeek models with different
// providers.
import process from "node:process";
import "dotenv/config";
// Configuration for using GitHub models
const GITHUB_MODELS_CONFIG = {
baseURL: "https://models.inference.ai.azure.com",
apiKey: process.env.GITHUB_TOKEN,
model: "DeepSeek-R1",
};
// Configuration for using Azure AI Foundry models
export const AZURE_AI_CONFIG = {
baseURL: process.env.AZURE_AI_BASE_URL,
apiKey: process.env.AZURE_AI_API_KEY,
model: "DeepSeek-R1",
};
// Configuration for using Ollama models
export const OLLAMA_CONFIG = {
baseURL: "http://localhost:11434/v1",
apiKey: "__not_needed__",
model: "deepseek-r1:14b",
};
// Set the configuration to use with all the examples
export default GITHUB_MODELS_CONFIG;
// export default AZURE_AI_CONFIG;
// export default OLLAMA_CONFIG;