-
Notifications
You must be signed in to change notification settings - Fork 130
/
package.json
189 lines (189 loc) · 5.69 KB
/
package.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"name": "llama-coder",
"displayName": "Llama Coder",
"description": "Better and self-hosted Github Copilot replacement",
"version": "0.0.14",
"icon": "icon.png",
"publisher": "ex3ndr",
"repository": {
"type": "git",
"url": "https://github.com/ex3ndr/llama-coder.git"
},
"bugs": {
"url": "https://github.com/ex3ndr/llama-coder/issues"
},
"license": "MIT",
"categories": [
"Machine Learning",
"Programming Languages"
],
"keywords": [
"code",
"assistant",
"ai",
"llm",
"development"
],
"engines": {
"vscode": "^1.84.0"
},
"activationEvents": [
"onStartupFinished"
],
"extensionKind": ["ui"],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "llama.openSettings",
"title": "Llama Coder: Open Settings"
},
{
"command": "llama.pause",
"title": "Llama Coder: Pause"
},
{
"command": "llama.resume",
"title": "Llama Coder: Resume"
},
{
"command": "llama.toggle",
"title": "Llama Coder: Toggle"
}
],
"configuration": [
{
"title": "Llama coder",
"properties": {
"notebook.includeMarkup": {
"type": "boolean",
"default": true,
"description": "Include markup cell types in prompt"
},
"notebook.includeCellOutputs": {
"type": "boolean",
"default": false,
"description": "Include Cell previous output results in the prompt"
},
"notebook.cellOutputLimit": {
"type": "number",
"default": 256,
"description": "truncate cell output result if exceeds this limit"
},
"inference.endpoint": {
"type": "string",
"default": "",
"description": "Ollama Server Endpoint. Empty for local instance. Example: http://192.168.0.100:11434",
"order": 1
},
"inference.bearerToken": {
"type": "string",
"default": "",
"description": "Auth Bearer token that should be used for secure requests. Leave empty if not desired."
},
"inference.model": {
"type": "string",
"enum": [
"stable-code:3b-code-q4_0",
"codellama:7b-code-q4_K_S",
"codellama:7b-code-q4_K_M",
"codellama:7b-code-q6_K",
"codellama:7b-code-fp16",
"codellama:13b-code-q4_K_S",
"codellama:13b-code-q4_K_M",
"codellama:13b-code-q6_K",
"codellama:13b-code-fp16",
"codellama:34b-code-q4_K_S",
"codellama:34b-code-q4_K_M",
"codellama:34b-code-q6_K",
"codellama:70b-code-q4_K_S",
"codellama:70b-code-q4_K_M",
"codellama:70b-code-q6_K",
"codellama:70b-code-fp16",
"deepseek-coder:1.3b-base-q4_0",
"deepseek-coder:1.3b-base-q4_1",
"deepseek-coder:1.3b-base-q8_0",
"deepseek-coder:6.7b-base-q4_K_S",
"deepseek-coder:6.7b-base-q4_K_M",
"deepseek-coder:6.7b-base-q5_K_S",
"deepseek-coder:6.7b-base-q5_K_M",
"deepseek-coder:6.7b-base-q8_0",
"deepseek-coder:6.7b-base-fp16",
"deepseek-coder:33b-base-q4_K_S",
"deepseek-coder:33b-base-q4_K_M",
"deepseek-coder:33b-base-fp16",
"custom"
],
"default": "stable-code:3b-code-q4_0",
"description": "Inference model to use",
"order": 2
},
"inference.temperature": {
"type": "number",
"default": 0.2,
"description": "Temperature of the model. Increasing the temperature will make the model answer more creatively.",
"order": 3
},
"inference.custom.model": {
"type": "string",
"default": "",
"description": "Custom model name",
"order": 4
},
"inference.custom.format": {
"type": "string",
"enum": [
"stable-code",
"codellama",
"deepseek"
],
"default": "stable-code",
"description": "Custom model prompt format",
"order": 5
},
"inference.maxLines": {
"type": "number",
"default": 16,
"description": "Max number of lines to be keep.",
"order": 6
},
"inference.maxTokens": {
"type": "number",
"default": 256,
"description": "Max number of new tokens to be generated.",
"order": 7
},
"inference.delay": {
"type": "number",
"default": 250,
"description": "Completion request delay in milliseconds (0 - no delay, -1 - no completions).",
"order": 8,
"minimum": -1,
"maximum": 5000
}
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "jest",
"package": "npx @vscode/vsce package"
},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/node": "18.x",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"dotenv": "^16.3.1",
"eslint": "^8.52.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
}
}