update
This commit is contained in:
@@ -141,8 +141,8 @@ function chat_mistral_openorca(a::agentReflex)
|
||||
$conversation
|
||||
<|assistant|>
|
||||
"""
|
||||
|
||||
response = sendReceivePrompt(a, prompt, a.config[:text2text][:mqtttopic],
|
||||
|
||||
response = sendReceivePrompt(a, prompt, a.config[:text2textchat][:mqtttopic],
|
||||
timeout=180, stopword=["<|", "</"])
|
||||
response = split(response, "<|")[1]
|
||||
response = split(response, "</")[1]
|
||||
@@ -193,14 +193,14 @@ function planner_mistral_openorca(a::agentReflex)
|
||||
|
||||
# skip objective and plan because LLM is going to generate new plan
|
||||
shorttermMemory = dictToString(a.memory[:shortterm], skiplist=["Objective:", "Plan 1:"])
|
||||
@show "---> 2"
|
||||
|
||||
aboutYourself =
|
||||
"""
|
||||
Your name is $(a.name)
|
||||
$(a.roles[a.role])
|
||||
$(a.roleSpecificInstruction[a.role])
|
||||
"""
|
||||
@show "---> 3"
|
||||
|
||||
# assistant_plan_prompt =
|
||||
# """
|
||||
# <s>
|
||||
|
||||
Reference in New Issue
Block a user