mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
35 lines
804 B
EmacsLisp
35 lines
804 B
EmacsLisp
;;; siren-chatgpt-shell.el --- jimeh's Emacs Siren: chatgpt-shell configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for chatgpt-shell.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-chatgpt)
|
|
|
|
(use-package shell-maker
|
|
:defer t)
|
|
|
|
(use-package chatgpt-shell
|
|
:defer t
|
|
|
|
:custom
|
|
(chatgpt-shell-chatgpt-streaming t)
|
|
(chatgpt-shell-model-temperature 1.0)
|
|
|
|
:config
|
|
;; Set and manage API Key and Model via `siren-chatgpt' helpers.
|
|
(siren-chatgpt-register-api-key-var 'chatgpt-shell-openai-key)
|
|
(siren-chatgpt-register-model-var 'chatgpt-shell-model-version))
|
|
|
|
(use-package dall-e-shell
|
|
:defer t
|
|
|
|
:config
|
|
;; Set and manage API Key and Model via `siren-chatgpt' helpers.
|
|
(siren-chatgpt-register-api-key-var 'dall-e-shell-openai-key))
|
|
|
|
(provide 'siren-chatgpt-shell)
|
|
;;; siren-chatgpt-shell.el ends here
|