fixed token bug

This commit is contained in:
Mike 'Fuzzy' Partin 2024-07-06 09:35:58 -07:00
parent 0662f91389
commit ec7a6f26bc
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@
:type 'boolean
:group 'thwap-config-group)
(defcustom thwap-org-org-ai-token nil
(defcustom thwap-org-openai-api-token nil
"OpenAI API Token for use in org-ai."
:type 'string
:group 'thwap-config-group)

View File

@ -160,7 +160,7 @@
:local-repo "org-ai"
:files ("*.el" "README.md" "snippets")))
(setq org-ai-default-chat-model "gpt-3.5-turbo")
(setq org-ai-openai-api-token thwap-org-ai-openai-api-token)
(setq org-ai-openai-api-token thwap-org-openai-api-token)
(org-ai-global-mode)
(org-ai-install-yasnippets))