This commit is contained in:
narawat lamaiin
2024-03-20 16:51:33 +07:00
parent 56a40ee894
commit d6d74fed6c
2 changed files with 4 additions and 2 deletions

View File

@@ -142,7 +142,8 @@ function chat_mistral_openorca(a::agentReflex)
<|assistant|>
"""
response = sendReceivePrompt(a, prompt, timeout=180, stopword=["<|", "</"])
response = sendReceivePrompt(a, prompt, a.config[:text2text][:mqtttopic],
timeout=180, stopword=["<|", "</"])
response = split(response, "<|")[1]
response = split(response, "</")[1]