Files
.emacs.d/modules/ai/siren-chatgpt-shell.el
Jim Myhrberg fe6a4e7ce5 fix(elisp): add lexical-binding comment to all files to suppress new Emacs 31 warnings
I've set `lexical-binding` to `nil` in all Emacs Lisp files to suppress
the warnings introduced in Emacs 31 requiring all elisp files to have a
`lexical-binding` comment.

This retains the default behavior of dynamic binding when no
`lexical-binding` comment is present. With it set to `t` across the
board, various things break, and fixing those is a task for another day.
2025-06-29 12:23:03 +01:00

35 lines
835 B
EmacsLisp

;;; siren-chatgpt-shell.el --- jimeh's Emacs Siren: chatgpt-shell configuration. -*- lexical-binding: nil; -*-
;;; 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