This commit is contained in:
narawat lamaiin
2024-04-24 06:58:55 +07:00
parent b3161e152e
commit 7b79743ef5

View File

@@ -188,7 +188,7 @@ function chat_mistral_openorca(a::agentReflex, prompttemplate="llama3")
$conversation
"""
_response = sendReceivePrompt(a, prompt, a.config[:text2textchat][:mqtttopic],
timeout=180, stopword=["<|", "</"])
max_tokens=1024, timeout=180, stopword=["<|", "</"])
response = _response
return response
@@ -312,7 +312,7 @@ function planner_mistral_openorca(a::agentReflex)
Plan:
"""
response = sendReceivePrompt(a, prompt, a.config[:text2text][:mqtttopic], max_tokens=1024,
response = sendReceivePrompt(a, prompt, a.config[:text2text][:mqtttopic], max_tokens=512,
timeout=180, stopword=["<|eot_id|>"])
response = split(response, "<|")[1]