Closed benthamite closed 3 months ago
What are these two things set to?
(default-value 'gptel-model)
(gptel-backend-name (default-value 'gptel-backend))
Thanks for the quick reply.
"gpt-3.5-turbo" and "ChatGPT", respectively.
Okay, so it seems that gptel
complains about the default values of gptel-model
and gptel-backend
, although their buffer-local values are correctly set in the gptel
buffer. Is that correct?
It was checking the default value of gptel-backend
vs the buffer-local value of the model, should be fixed now. Please update and test.
Great—I confirm it’s fixed. Thank you for resolving this issue so quickly.
I'm exploring ways to set different models in different major modes and came up with the following approach
This works well, in the sense that the relevant models become active in the right modes, and I can interact with them from buffers in those modes. However, if I open a dedicated buffer via
M-x gptel
, I get this warning:The warning suggests (I think) that incompatible values are being set for
gptel-model
andgptel-backend
, but my function sets those variables correctly. Thoughts?