Skip to content

Non-org frontend unrecognised #199

@dylanbmorgan

Description

@dylanbmorgan

Hi, setting the frontend in doom emacs with

(after! copilot-chat
  (setq copilot-chat-frontend 'markdown))

and calling copilot-chat results in the following when enabling toggle-debug-on-error:

Debugger entered--Lisp error: (wrong-type-argument copilot-chat-frontend nil)
  copilot-chat--get-buffer(#s(copilot-chat :directory "/Users/dylanmorgan/.doom.d/" :model "gpt-4o" :type nil :chat-buffer #<buffer  *Copilot Chat [/Users/dylanmorgan/.doom.d/]*> :first-word-answer t :history nil :buffers nil :uses-vision nil :prompt-history nil :prompt-history-position nil :yank-index 1 :last-yank-start nil :last-yank-end nil :spinner-timer nil :spinner-index 0 :spinner-status nil :-backend #s(copilot-chat-curl :answer nil :file nil :current-data nil) :-frontend nil :file-path nil))
  copilot-chat--display(#s(copilot-chat :directory "/Users/dylanmorgan/.doom.d/" :model "gpt-4o" :type nil :chat-buffer #<buffer  *Copilot Chat [/Users/dylanmorgan/.doom.d/]*> :first-word-answer t :history nil :buffers nil :uses-vision nil :prompt-history nil :prompt-history-position nil :yank-index 1 :last-yank-start nil :last-yank-end nil :spinner-timer nil :spinner-index 0 :spinner-status nil :-backend #s(copilot-chat-curl :answer nil :file nil :current-data nil) :-frontend nil :file-path nil))
  copilot-chat(nil)
  funcall-interactively(copilot-chat nil)
  command-execute(copilot-chat record)
  execute-extended-command(nil "copilot-chat" nil)
  funcall-interactively(execute-extended-command nil "copilot-chat" nil)
  command-execute(execute-extended-command)

This also occurs with 'shell-maker but works as expected with 'org.

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions