max-arnold / llm-gigachat

GigaChat LLM provider for Emacs
GNU General Public License v3.0
0 stars 0 forks source link

Initial release #1

Open max-arnold opened 11 months ago

max-arnold commented 11 months ago

This is a Emacs LLM provider that supports GigaChat API

What is missing for initial release:

FYI: @ahyatt @s-kostyaev

max-arnold commented 11 months ago

A little feedback on the LLM library:

  1. I had to copy-paste and tweak the llm-request-sync-raw-output function in order to make x-www-form-urlencoded requests https://github.com/max-arnold/llm-gigachat/blob/main/llm-gigachat.el#L85C1-L104C44
  2. Maybe some credential storage helpers will be useful https://github.com/max-arnold/llm-gigachat/blob/main/llm-gigachat.el#L38-L46
ahyatt commented 11 months ago

Thank you for the feedback! This is the first API that needed to deal with authentication in this way, so I think that's why you had to do more with than normal. I'd like to replace or base our llm-request library on plz, and someone is working on making the changes to make that possible, and when that happens this should be easier.