-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
122 lines (122 loc) · 4.93 KB
/
extension.json
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"identifier": "tobiaswolf.ollama",
"name": "ollama",
"organization": "Tobias Wolf",
"description": "Generate and complete code with ollama.",
"version": "1.1.0",
"license": "MIT",
"repository": "https://github.com/tobiasfabian/nova-ollama",
"bugs": "https://github.com/tobiasfabian/nova-ollama/issues",
"funding": "https://github.com/sponsors/tobiasfabian",
"categories": [
"commands"
],
"main": "main.js",
"entitlements": {
"requests": true
},
"commands": {
"editor": [
{
"title": "Complete code",
"command": "tobiaswolf.ollama.completeCode"
},
{
"title": "Assist",
"command": "tobiaswolf.ollama.assist",
"shortcut": "cmd-opt-ctrl-p"
}
]
},
"config": [
{
"key": "tobiaswolf.ollama.origin",
"title": "Ollama URL",
"type": "string",
"placeholder": "http://localhost:11434",
"default": "http://localhost:11434"
},
{
"key": "tobiaswolf.ollama.modelName",
"title": "Model name",
"type": "string",
"placeholder": "e.g. llama3.2 or openhermes2.5-mistral:7b-q4_K_M",
"default": "llama3.2",
"description": "The model has to be installed. Model names follow a model:tag format, where model can have an optional namespace such as example/model. The tag is optional and, if not provided, will default to latest. The tag is used to identify a specific version."
},
{
"key": "tobiaswolf.ollama.modelParameters",
"title": "Model Parameters",
"type": "text",
"placeholder": "e.g. { \"num_predict\": 256 }",
"description": "A JSON object with model parameters."
},
{
"key": "tobiaswolf.ollama.modelKeepAlive",
"title": "Model keep alive",
"type": "string",
"default": "5m",
"placeholder": "5m",
"description": "Controls how long the model will stay loaded into memory following the request."
},
{
"key": "tobiaswolf.ollama.systemMessageCompleteCode",
"title": "System message “Complete code”",
"type": "text",
"placeholder": "e.g. “You are a code autocompletion engine. Respond with a continuation of the code provided and nothing else. Code should not be in a code block. Anything that is not code should be written as a code comment.”",
"default": "You are a code autocompletion engine. Respond with a continuation of the code provided and nothing else. Code should not be in a code block. Anything that is not code should be written as a code comment.",
"description": "This system message is used, when you run the “Complete code” command."
},
{
"key": "tobiaswolf.ollama.systemMessageAssist",
"title": "System message “Assist”",
"type": "text",
"placeholder": "e.g. “You are an assistant helping with coding. Respond with code only. Don’t format code. Don’t put code in code blocks. Don’t repeat the input.”",
"default": "You are an assistant helping with coding. Respond with code only. Don’t format code. Don’t put code in code blocks. Don’t repeat the input.",
"description": "This system message is used, when you run the “Assist” command."
}
],
"configWorkspace": [
{
"key": "tobiaswolf.ollama.origin",
"title": "Ollama URL",
"type": "string",
"placeholder": "Inherit from global settings"
},
{
"key": "tobiaswolf.ollama.modelName",
"title": "Model name",
"type": "string",
"placeholder": "Inherit from global settings",
"description": "The model has to be installed. Model names follow a model:tag format, where model can have an optional namespace such as example/model. The tag is optional and, if not provided, will default to latest. The tag is used to identify a specific version."
},
{
"key": "tobiaswolf.ollama.modelParameters",
"title": "Model Parameters",
"type": "text",
"placeholder": "Inherit from global settings",
"description": "A JSON object with model parameters."
},
{
"key": "tobiaswolf.ollama.modelKeepAlive",
"title": "Model keep alive",
"type": "string",
"placeholder": "Inherit from global settings",
"description": "Controls how long the model will stay loaded into memory following the request."
},
{
"key": "tobiaswolf.ollama.systemMessageCompleteCode",
"title": "System message “Complete code”",
"type": "text",
"placeholder": "Inherit from global settings",
"description": "Leave empty to inherit from global settings. This system message is used, when you run the “Complete code” command."
},
{
"key": "tobiaswolf.ollama.systemMessageAssist",
"title": "System message “Assist”",
"type": "text",
"placeholder": "Inherit from global settings",
"description": "Leave empty to inherit from global settings. This system message is used, when you run the “Assist” command."
}
]
}