update
This commit is contained in:
@@ -442,9 +442,10 @@ function conversation(a::agentReflex, usermsg::String; attemptlimit::Int=3)
|
||||
# a.earlierConversation = conversationSummary(a)
|
||||
_ = addNewMessage(a, "user", usermsg)
|
||||
isusetools = isUseTools(a, usermsg)
|
||||
newinfo = extractinfo(a, usermsg)
|
||||
a.env = newinfo !== nothing ? updateEnvState(a, newinfo) : a.env
|
||||
|
||||
# newinfo = extractinfo(a, usermsg)
|
||||
# a.env = newinfo !== nothing ? updateEnvState(a, newinfo) : a.env
|
||||
@show isusetools
|
||||
|
||||
#WORKING
|
||||
# if isusetools # use tools before responseing
|
||||
# response = work(a, usermsg)
|
||||
|
||||
Reference in New Issue
Block a user