|
|
|
@ -349,11 +349,12 @@ class TextService:
|
|
|
|
|
response_text = f"***{from_other_action}*** {response_text}"
|
|
|
|
|
elif from_ask_command or from_ask_action:
|
|
|
|
|
response_model = response["model"]
|
|
|
|
|
if (
|
|
|
|
|
"gpt-3.5" in response_model
|
|
|
|
|
or "gpt-4" in response_model
|
|
|
|
|
):
|
|
|
|
|
response_text = f"\n\n{response_text}" if not response_text.startswith("\n\n") else response_text
|
|
|
|
|
if "gpt-3.5" in response_model or "gpt-4" in response_model:
|
|
|
|
|
response_text = (
|
|
|
|
|
f"\n\n{response_text}"
|
|
|
|
|
if not response_text.startswith("\n\n")
|
|
|
|
|
else response_text
|
|
|
|
|
)
|
|
|
|
|
response_text = f"***{prompt}***{response_text}"
|
|
|
|
|
elif from_edit_command:
|
|
|
|
|
response_text = response_text.strip()
|
|
|
|
|