File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ This fork does the following:
18
18
- ** Model definition inheritance** : Define models that inherit other model parameters
19
19
- ** Refactored for idiomatic Lua** and neovim plugin style
20
20
- ** Simplified command system** with explicit configuration
21
+ - ** Chat History** : Add example messages in a command definition
21
22
- ** Tests with plenary library**
22
23
- ** Fixed statusline** integration
23
24
@@ -362,3 +363,10 @@ popups
362
363
})
363
364
364
365
```
366
+
367
+ ## API
368
+
369
+ ` setup({config}) ` : setup plugin
370
+ ` select_model() ` : list local defined and remote available models
371
+ ` cancel_request() ` : Cancel ongoing request
372
+
Original file line number Diff line number Diff line change @@ -3,11 +3,6 @@ local config = require("codegpt.config")
3
3
local Messages = require (" codegpt.providers.messages" )
4
4
local Commands = require (" codegpt.commands" )
5
5
6
- local function should_fail (fun )
7
- local stat = pcall (fun )
8
- assert (not stat , " Function should have errored" )
9
- end
10
-
11
6
describe (" message templates" , function ()
12
7
before_each (function ()
13
8
codegpt .setup ()
You can’t perform that action at this time.
0 commit comments