From 5196cebba9f0291f9a95ae31cb67349cc0a43b87 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 6 Feb 2024 22:51:44 +0700 Subject: [PATCH] update --- src/llmfunction.jl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/llmfunction.jl b/src/llmfunction.jl index f4f6e12..a37854d 100644 --- a/src/llmfunction.jl +++ b/src/llmfunction.jl @@ -89,7 +89,13 @@ end function winestock(a::agentReflex, input::NamedTuple) println("") @show input - query = JSON3.write(input) + + newDict = Dict{String,Any}() + for (k,v) in input[:toolinput] + newDict[string(k)] = v + end + + query = JSON3.write(newDict) println("") @show query