aide.el
aide.el copied to clipboard
Update for endpoint deprecation, rewrite complete buffer for chat.
Also add logging to aid in debugging prompts, if needed. Calling the API is not free.
--
Hi @junjizhi I just got back to this code recently for the first time in a year; thank you for updating it for the new chat endpoints. I commented out some code that will soon stop working due to API changes, and rewrote how the defun aide-openai-chat-buffer-insert
function works so that it's possible to send the entire buffer to the new chat endpoints and utilize the new models with larger context.
I hope you find this useful; I thought it would be better to comment out functions that will soon break (January 2024) rather than having users try to utilize them and being disappointed. I'm sure the functions can be rewritten for use with the new Chat endpoints, but that's beyond my prompt engineering skills at the moment.
Thanks again for creating this in the first place, very useful! Best, Nick