Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tino415 opened this issue Jun 5, 2024 · 3 comments

Comments

@tino415
Copy link

tino415 commented Jun 5, 2024

Good day,

I'm getting this error trying running this plugin:

  • NixOS 24.05
  • Codeium 1.8.42
  • GNU Emacs 29.3

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
Copy link
Author

tino415 commented Jun 5, 2024

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...

@rustbuckett
Copy link

Did you ever figure this out? Having same problem in Doom Emacs.

@tino415
Copy link
Author

tino415 commented Dec 18, 2024

The only way that it worked for me was to use custom-set-variables and set codeium/metadata/api_key. I gave up on using auth-sources to store API key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants