Skip to content

Commit df7accc

Browse files
authored
gptel-gh: add grok-code-fast-1 model (#1070)
gptel-gh.el (gptel--gh-models): Reuse properties defined in gptel-openai-extras but update context-window to 128, as returned by the Copilot Models API.
1 parent f66e443 commit df7accc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

gptel-gh.el

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,13 @@
159159
:context-window 1000
160160
:input-cost 0.10
161161
:output-cost 0.40
162-
:cutoff-date "2024-08")))
162+
:cutoff-date "2024-08")
163+
(grok-code-fast-1
164+
:description "Fast reasoning model for agentic coding"
165+
:capabilities '(tool-use json reasoning)
166+
:context-window 128
167+
:input-cost 0.2
168+
:output-cost 1.5)))
163169

164170
(cl-defstruct (gptel--gh (:include gptel-openai)
165171
(:copier nil)

0 commit comments

Comments
 (0)