branch: elpa/gptel commit b891789c05d9e7b17c535d2d1a35392c3058808d Author: Karthik Chikmagalur <karthikchikmaga...@gmail.com> Commit: Karthik Chikmagalur <karthikchikmaga...@gmail.com>
gptel-transient: Don't capitalize tool category names * gptel-transient.el (gptel-tools): Don't capitalize tool category names. This is awkward depending on the category name. For example, tools imported from mcp.el have the category "mcp-foo", which was being displayed as "Mcp-Foo" in the `gptel-tools' menu. --- gptel-transient.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gptel-transient.el b/gptel-transient.el index 9888768306..7a9f4deead 100644 --- a/gptel-transient.el +++ b/gptel-transient.el @@ -823,7 +823,7 @@ only (\"oneshot\")." (identity ;TODO(tool): Replace with vconcat for groups separated by category ;; Add a category header that can be used to toggle all tools in that category (nconc (list " " (list (key-description (list category-key category-key)) - (concat (propertize (concat (capitalize category) " tools") + (concat (propertize (concat category " tools") 'face 'transient-heading) (make-string (max (- 14 (length category)) 0) ? )) "(*)"