update
This commit is contained in:
@@ -358,6 +358,8 @@ function conversation(a::T, usermsg::String) where {T<:agent}
|
||||
userintend = identifyUserIntention(a, usermsg)
|
||||
|
||||
respond = nothing
|
||||
|
||||
# AI thinking mode
|
||||
if userintend == "chat"
|
||||
summary = conversationSummary(a)
|
||||
_ = addNewMessage(a, "user", usermsg)
|
||||
@@ -366,7 +368,7 @@ function conversation(a::T, usermsg::String) where {T<:agent}
|
||||
respond = replace(respond, "\n<|im_end|>" => "")
|
||||
_ = addNewMessage(a, "assistant", respond)
|
||||
elseif userintend == "wine" #WORKING
|
||||
|
||||
|
||||
|
||||
error("wine done")
|
||||
elseif userintend == "thought"
|
||||
|
||||
Reference in New Issue
Block a user