-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontributes.extra.json
More file actions
68 lines (68 loc) · 2.3 KB
/
Copy pathcontributes.extra.json
File metadata and controls
68 lines (68 loc) · 2.3 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"menus": {
"view/item/context": [
{
"command": "codetrainer.explainTheory",
"when": "view == codetrainer-trainer-catalog && viewItem =~ /withTheory/",
"group": "inline"
},
{
"command": "codetrainer.openProblem",
"when": "view == codetrainer-trainer-catalog && viewItem =~ /problem/",
"group": "inline"
}
]
},
"configuration": {
"title": "Code Trainer",
"properties": {
"codetrainer.llm.provider": {
"type": "string",
"enum": [
"ollama",
"openai"
],
"default": "ollama",
"description": "Which LLM wire protocol to speak. 'openai' works with any OpenAI-compatible endpoint."
},
"codetrainer.llm.baseUrl": {
"type": "string",
"default": "http://localhost:11434",
"description": "LLM base URL. Ollama's default is http://localhost:11434."
},
"codetrainer.llm.model": {
"type": "string",
"default": "",
"description": "Model used to generate exercises, ghost text and coaching feedback. Must be a model you have pulled, INCLUDING its tag (e.g. 'qwen2.5-coder:7b' — a bare 'qwen2.5-coder' is not the same thing to Ollama). Leave empty to auto-select an installed model. Pick from the dropdown in the dashboard to see what you actually have."
},
"codetrainer.llm.apiKey": {
"type": "string",
"default": "",
"description": "Bearer token. Leave empty for a local Ollama."
},
"codetrainer.llm.temperature": {
"type": "number",
"default": 0.7,
"description": "Sampling temperature for exercise generation."
},
"codetrainer.llm.timeoutMs": {
"type": "number",
"default": 60000,
"description": "Abort an LLM request after this many milliseconds."
},
"codetrainer.problemLanguage": {
"type": "string",
"enum": [
"en",
"es"
],
"enumDescriptions": [
"English",
"Español"
],
"default": "en",
"description": "Language for problem statements and hints. Code, tests and function names always stay in English — translating them would break the test runner, and interviews use English identifiers."
}
}
}
}