diff --git a/src/interface.jl b/src/interface.jl index c82cb2f..c0ddf84 100755 --- a/src/interface.jl +++ b/src/interface.jl @@ -389,7 +389,7 @@ end Continuously run llm functions except when llm is getting Answer: or chatbox. There are many work() depend on thinking mode. """ -function work_react(a::T, prompt::String, maxround::Int=3) where {T<:agent} +function work(a::T, prompt::String, maxround::Int=3) where {T<:agent} respond = nothing while true a.thoughtround += 1