lanceberge / elysium

Automatically apply AI-generated code changes in Emacs
GNU General Public License v3.0
126 stars 2 forks source link

Breaking change in gptel: gptel-models as symbols #4

Open karthink opened 19 hours ago

karthink commented 19 hours ago

Just a heads-up that in preparation for media/images, function calling and json support in gptel, I now require gptel-model to be a symbol, i.e. (setq gptel-model 'gpt-4o-mini) instead of (setq gptel-model "gpt-4o-mini").

While this is a breaking change, I'm trying to paper over this difference: specifying gptel-model as a string should still work fine, but with a warning. Sorry for the trouble!

This will be effective in gptel version 0.9.5, which I'll be tagging today. In a future version the warning will be upgraded to an error, hopefully giving everyone enough time to make the change.