Skip to content

GPT-4 supports. #11

@hongyi-zhao

Description

@hongyi-zhao

I tried this package with GPT-4 using the following configuration:

(defvar my-openai-api-key "sk-xxx")
(use-package openai
  :straight (openai :type git :host github :repo "emacs-openai/openai")
  :config
  (setq openai-key my-openai-api-key)
  )

(use-package chatgpt
  :straight (chatgpt :type git :host github :repo "emacs-openai/chatgpt")
  :config
  (setq chatgpt-model "gpt-4")
  )

But when I try to do query, the following error will be triggered:

Error in post-command-hook (chatgpt-input--post-command): (error "Cannot resize the root window of a frame")
hungry-delete-impl: End of buffer
[error] request--callback: peculiar error: 404
Internal error: 404

Regards,
Zhao

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions