update
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user