org-ai
org-ai copied to clipboard
Can you help me solve the connection waiting?
Hi , friend When i press C-c C-c , i get the notice as follow:
REQUEST {"messages":[{"role":"user","content":"hello"}],"model":"gpt-3.5","stream":true} Contacting host: api.openai.com:443
I have got the api key and set it like this : (setq org-ai-use-auth-source nil)
(use-package org-ai
:ensure t
:commands (org-ai-mode
org-ai-global-mode)
:init
(add-hook 'org-mode-hook #'org-ai-mode) ; enable org-ai in org-mode
(org-ai-global-mode) ; installs global keybindings on C-c M-a
(setq org-ai-openai-api-token "~/.emacs.d/authinfo.gpg")
:config
(setq org-ai-default-chat-model "gpt-3.5") ; if you are on the gpt-4 beta:
(org-ai-install-yasnippets)) ; if you are using yasnippet and want ai
snippets
Where do i get stuck in?