This commit is contained in:
2023-11-21 01:58:43 +00:00
parent 5868338b69
commit 5d4bcb05d7

View File

@@ -486,7 +486,6 @@ function work(a::T, prompt::String, maxround::Int=3) where {T<:agent}
_ = addNewMessage(a, "assistant", respond)
break
else # function call
println("//////////// $(a.thoughtround)")
f = a.tools[Symbol(toolname)][:func]
_result = f(toolinput)
if _result != "No info available." #TODO for use with wikisearch(). Not good for other tools