From 133ec279385d38c2b597f5404ad8c8143080f161 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 28 Feb 2026 13:59:54 +0300 Subject: Feat(shell): cd and pipes support --- bot.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bot.go') diff --git a/bot.go b/bot.go index f662d5c..fb0e9bf 100644 --- a/bot.go +++ b/bot.go @@ -1116,11 +1116,10 @@ func findCall(msg, toolCall string) bool { } // Store tool call info in the assistant message // Convert Args map to JSON string for storage - argsJSON, _ := json.Marshal(lastToolCall.Args) chatBody.Messages[lastMsgIdx].ToolCall = &models.ToolCall{ ID: lastToolCall.ID, Name: lastToolCall.Name, - Args: string(argsJSON), + Args: mapToString(lastToolCall.Args), } // call a func _, ok := fnMap[fc.Name] -- cgit v1.2.3