Skip to content

Commit 9f5f442

Browse files
committed
📝 Update configuration documentation
1 parent 7e15065 commit 9f5f442

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,10 @@ endfunction
204204
let g:proompter = {
205205
\ 'select': {
206206
\ 'model_name': 'codellama',
207+
\ 'completion_endpoint': 'chat',
207208
\ },
208209
\ 'api': {
209-
\ 'url': 'http://127.0.0.1:11434/api/generate',
210+
\ 'url': 'http://127.0.0.1:11434',
210211
\ },
211212
\ 'channel': {
212213
\ 'address': '127.0.0.1:11435',

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,31 @@ The format is based on [Keep a Changelog][] and this project adheres to
3030
______
3131

3232

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+
3358
## [0.0.7] - 2024-10-17
3459

3560

0 commit comments

Comments
 (0)