File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ List of supported commands,
90
90
91
91
#### 🧪 Variables
92
92
93
+ - ` codegpt-model ` - ID of the model to use.
93
94
- ` codegpt-max-tokens ` - The maximum number of tokens to generate in the completion.
94
95
- ` codegpt-temperature ` - What sampling temperature to use.
95
96
Original file line number Diff line number Diff line change 58
58
:type 'list
59
59
:group 'codegpt )
60
60
61
+ (defcustom codegpt-model " text-davinci-003"
62
+ " ID of the model to use."
63
+ :type 'string
64
+ :group 'codegpt )
65
+
61
66
(defcustom codegpt-max-tokens 4000
62
67
" The maximum number of tokens to generate in the completion."
63
68
:type 'integer
@@ -102,6 +107,7 @@ boundaries of that region in buffer."
102
107
(fill-region original-point (point ))))
103
108
(unless codegpt-focus-p
104
109
(select-window original-window)))
110
+ :model codegpt-model
105
111
:max-tokens codegpt-max-tokens
106
112
:temperature codegpt-temperature)
107
113
(unless codegpt-focus-p
You can’t perform that action at this time.
0 commit comments