Skip to content

Commit

Permalink
feat(version): Upgrade to Copilot 1.40.0
Browse files Browse the repository at this point in the history
  • Loading branch information
knilink committed Sep 7, 2024
1 parent 8ddfbee commit 3daec81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion copilot.el
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ find indentation offset."
(defvar copilot--server-executable nil
"The dist directory containing agent.js file.")

(defcustom copilot-version "1.27.0"
(defcustom copilot-version "1.40.0"
"Copilot version.
The default value is the preferred version and ensures functionality.
Expand Down Expand Up @@ -328,6 +328,7 @@ Please upgrade the server via `M-x copilot-reinstall-server`"))
(setq copilot--connection (copilot--make-connection))
(message "Copilot agent started.")
(copilot--request 'initialize '(:capabilities (:workspace (:workspaceFolders t))))
(copilot--notify 'initialized '())
(copilot--async-request 'setEditorInfo
`(:editorInfo (:name "Emacs" :version ,emacs-version)
:editorPluginInfo (:name "copilot.el" :version ,copilot-version)
Expand Down

0 comments on commit 3daec81

Please sign in to comment.