File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 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,
9090
9191#### 🧪 Variables
9292
93+ - ` codegpt-model ` - ID of the model to use.
9394- ` codegpt-max-tokens ` - The maximum number of tokens to generate in the completion.
9495- ` codegpt-temperature ` - What sampling temperature to use.
9596
Original file line number Diff line number Diff line change 5858 :type 'list
5959 :group 'codegpt )
6060
61+ (defcustom codegpt-model " text-davinci-003"
62+ " ID of the model to use."
63+ :type 'string
64+ :group 'codegpt )
65+
6166(defcustom codegpt-max-tokens 4000
6267 " The maximum number of tokens to generate in the completion."
6368 :type 'integer
@@ -102,6 +107,7 @@ boundaries of that region in buffer."
102107 (fill-region original-point (point ))))
103108 (unless codegpt-focus-p
104109 (select-window original-window)))
110+ :model codegpt-model
105111 :max-tokens codegpt-max-tokens
106112 :temperature codegpt-temperature)
107113 (unless codegpt-focus-p
You can’t perform that action at this time.
0 commit comments