This commit is contained in:
2024-04-24 11:30:38 +07:00
parent 7b79743ef5
commit 739944effd

View File

@@ -1289,6 +1289,8 @@ function conversation(a::agentReflex, usermsg::String; attemptlimit::Int=3)
else
response = chat_mistral_openorca(a)
end
@show rawResponse = response
response = replace(response, '\n'=>"[br]") # Ken's LINE service use [br] instead of "\n"
# response = removeTrailingCharacters(response)
_ = addNewMessage(a, "assistant", response)
return response