update
This commit is contained in:
@@ -529,7 +529,7 @@ function actor_mistral_openorca(a::agentReflex, selfaware=nothing)
|
||||
"Answer:", "Conclusion:", "Summary:"]
|
||||
response = replaceHeaders(response, headerToDetect, latestTask)
|
||||
println("")
|
||||
@show actor_response_1 = response
|
||||
|
||||
headerToDetect = ["Plan $(a.attempt):",
|
||||
"Thought $latestTask:",
|
||||
"Act $latestTask:",
|
||||
@@ -541,7 +541,7 @@ function actor_mistral_openorca(a::agentReflex, selfaware=nothing)
|
||||
chunkedtext = delete!(chunkedtext, "Self-awareness $latestTask")
|
||||
act = GeneralUtils.getStringBetweenCharacters(response, '{', '}', endCharLocation="end")
|
||||
println("")
|
||||
@show actor_response_2 = act
|
||||
@show actor_response_1 = act
|
||||
act = Dict(JSON3.read(act))
|
||||
|
||||
chunkedtext["Act $latestTask:"] = toolname
|
||||
|
||||
Reference in New Issue
Block a user