summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-17 07:05:17 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-17 07:05:17 +0300
commit46dbb7b981d5cb56b80720b74b6b4184055430c0 (patch)
tree2ca6a90ae56e6e41b83570192c47a403c2ca01fa
parentef0940daa8114f0db26de0c7d6af33f1fcf305bd (diff)
Chore: update .gitignore
write logs to log.log
-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.