branch: externals/llm
commit f6a69f3776dcc90e0bd6a194eacca958fbb31cb7
Author: Andrew Hyatt <[email protected]>
Commit: Andrew Hyatt <[email protected]>
Whitespace fix in llm-count-tokens
---
llm.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/llm.el b/llm.el
index 1a90223920..68f001b87f 100644
--- a/llm.el
+++ b/llm.el
@@ -255,10 +255,10 @@ error signal and a string message."
This may be an estimate if the LLM does not provide an exact
count. Different providers might tokenize things in different
ways."
- (ignore provider)
- (with-temp-buffer
- (insert string)
- (/ (* (count-words (point-min) (point-max)) 4) 3)))
+ (ignore provider)
+ (with-temp-buffer
+ (insert string)
+ (/ (* (count-words (point-min) (point-max)) 4) 3)))
(defun llm-chat-prompt-to-text (prompt)
"Convert PROMPT `llm-chat-prompt' to a simple text.