update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user