about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xbin/kaagum2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/kaagum b/bin/kaagum
index 42475c5..2d455ab 100755
--- a/bin/kaagum
+++ b/bin/kaagum
@@ -83,7 +83,7 @@ Run kaagum AI agent.
   ;; 1. api-key-command is a string, not a list of string arguments
   ;; 2. api-key-command may contain pipes
   (call-with-input-pipe `("sh" "-c" ,api-key-command)
-    get-string-all))
+    (compose string-trim-both get-string-all)))
 
 (define main
   (match-lambda