summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--config.example.toml2
-rw-r--r--tools/tools.go2
3 files changed, 2 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 0ce290e..c16ecd1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
-*.txt
*.json
testlog
history/
diff --git a/config.example.toml b/config.example.toml
index 8e45734..a58729f 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -18,7 +18,7 @@ EmbedTokenizerPath = "onnx/embedgemma/tokenizer.json"
EmbedDims = 768
#
ShowSys = true
-LogFile = "log.txt"
+LogFile = "log.log"
UserRole = "user"
ToolRole = "tool"
AssistantRole = "assistant"
diff --git a/tools/tools.go b/tools/tools.go
index ba0a5ce..4c89c07 100644
--- a/tools/tools.go
+++ b/tools/tools.go
@@ -691,7 +691,7 @@ Use: run "command" to execute.`
-c count matches
Example:
run "grep error" (from stdin)
- run "grep -i warning log.txt"`
+ run "grep -i warn log.txt"`
case "cd":
return `cd <directory>
Change working directory.