Exafunction / codeium.el

Free, ultrafast Copilot alternative for Emacs
https://www.codeium.com
MIT License
412 stars 13 forks source link

Error running timer ‘codeium-defer-until-no-input’: (wrong-type-argument characterp manual) #103

Open tino415 opened 3 weeks ago

tino415 commented 3 weeks ago

Good day,

I'm getting this error trying running this plugin:

I did manual installation, only configuration I did is this:

(require 'codeium)
(require 'auth-source-utils)

(add-to-list 'completion-at-point-functions #'codeium-completion-at-point)

(defun codeium-configure()
  (interactive)
  (setq-default codeium-command-executable "codeium_language_server")
  (setq-default codeium/metadata/api-key (auth-source-secret :host "codeium.com" :user "apikey")))

(provide 'codeium-config)

I'm running codeium-configure before codeium-init because I can't run it on startup.

tino415 commented 3 weeks ago

Ok, I found out that this error is happening during reporting of other error, in *codeium-log* I see this line:

metadata.api_key: value length must be at least 1 characters

so mi question is, how do I set that api-key, configuration code up there is not working...