stuhlmueller / gpt.el

A simple Emacs package for calling instruction-following language models
MIT License
68 stars 10 forks source link

Dynamically derive `gpt-mode` to use markdown- or text-mode as parent. #16

Closed AnselmC closed 3 weeks ago

AnselmC commented 3 weeks ago

Tested it only locally - works as expected, if markdown mode is not installed then the "current" gpt-mode is defined, else it uses markdown mode. Probably would be better to have a test for this but I'd say setting up a test framework for this repo is outside of the scope of this PR.

stuhlmueller commented 3 weeks ago

Very nice, thank you!