karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.29k stars 128 forks source link

Fix read temperature from minibuffer #85

Closed tshu-w closed 1 year ago

tshu-w commented 1 year ago

The returned result now is a string instead of a number, and the code is from set-variable.

karthink commented 1 year ago

By setting the read argument to t, the returned result is now a number, not a string. This is useful in that we can get rid of gptel--numberize, but then reading ingptel-max-tokens should also be fixed.

tshu-w commented 1 year ago

Hi, I have updated my PR with gptel--numberize removement.

karthink commented 1 year ago

Cheers @tshu-w