-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.example.json
More file actions
43 lines (43 loc) · 843 Bytes
/
config.example.json
File metadata and controls
43 lines (43 loc) · 843 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
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"rules": [
{
"model": "gpt-4o",
"providers": [
{
"identifier": "openai-platform",
"models": [
"gpt-4o"
]
},
{
"identifier": "github-models",
"models": [
"gpt-4o"
]
}
]
}
],
"providers": [
{
"name": "OpenAI",
"identifier": "openai-platform",
"endpoint": "https://api.openai.com",
"path": "/v1/chat/completions",
"api_key": "$YOUR_OPENAI_API_KEY",
"models": [
"gpt-4o"
]
},
{
"name": "GitHub Models",
"identifier": "github-models",
"endpoint": "https://models.inference.ai.azure.com",
"path": "/chat/completions",
"api_key": "$YOUR_GITHUB_API_KEY",
"models": [
"gpt-4o"
]
}
]
}