gptel: Add describe-gptel-model feature #706
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The new
describe-gptel-model
command displays model information in the*Help*
buffer in similar fashion asdescribe-package
. This naming convention aligns with Emacs Lisp coding conventions documented in the elisp info manual (I believe). The command is accessible viaM-x
or the transient menu (bound toh
).Several new keys have been added to model definitions. A future enhancement could be to add more details, such as cache-hit pricing and web URLs.
The model selection completion for the
-m
option could benefit from removing some details to improve readability, particularly on smaller screens, if you agree with this new feature.