File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -204,9 +204,10 @@ endfunction
204
204
let g:proompter = {
205
205
\ 'select': {
206
206
\ 'model_name': 'codellama',
207
+ \ 'completion_endpoint': 'chat',
207
208
\ },
208
209
\ 'api': {
209
- \ 'url': 'http://127.0.0.1:11434/api/generate ',
210
+ \ 'url': 'http://127.0.0.1:11434',
210
211
\ },
211
212
\ 'channel': {
212
213
\ 'address': '127.0.0.1:11435',
Original file line number Diff line number Diff line change @@ -30,6 +30,31 @@ The format is based on [Keep a Changelog][] and this project adheres to
30
30
______
31
31
32
32
33
+ ## [ 0.1.0] - 2024-11-¿?
34
+
35
+
36
+ :warning : Massive re-write/organization of features!
37
+
38
+ ` g:proompter.api.url ` should ** not** define a path, and selecting a completion
39
+ endpoint is now the recommended way of choosing between ` /api/chat ` or
40
+ ` /api/generate ` options, eg.
41
+
42
+ ``` diff
43
+ let g:proompter = {
44
+ \ 'select': {
45
+ \ 'model_name': 'codellama',
46
+ + \ 'completion_endpoint': 'chat',
47
+ \ },
48
+ \ 'api': {
49
+ - \ 'url': 'http://127.0.0.1:11434/api/chat',
50
+ + \ 'url': 'http://127.0.0.1:11434',
51
+ \ },
52
+ ```
53
+
54
+
55
+ ______
56
+
57
+
33
58
## [ 0.0.7] - 2024-10-17
34
59
35
60
You can’t perform that action at this time.
0 commit comments