fixed token bug
This commit is contained in:
parent
0662f91389
commit
ec7a6f26bc
@ -182,7 +182,7 @@
|
|||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'thwap-config-group)
|
: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."
|
"OpenAI API Token for use in org-ai."
|
||||||
:type 'string
|
:type 'string
|
||||||
:group 'thwap-config-group)
|
:group 'thwap-config-group)
|
||||||
|
@ -160,7 +160,7 @@
|
|||||||
:local-repo "org-ai"
|
:local-repo "org-ai"
|
||||||
:files ("*.el" "README.md" "snippets")))
|
:files ("*.el" "README.md" "snippets")))
|
||||||
(setq org-ai-default-chat-model "gpt-3.5-turbo")
|
(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-global-mode)
|
||||||
(org-ai-install-yasnippets))
|
(org-ai-install-yasnippets))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user