Merge pull request #1886 from arc53/copilot/fix-1878

🐛 Fix conversation summary prompt to use user query language
This commit is contained in:
Alex
2025-07-15 12:57:14 +01:00
committed by GitHub

View File

@@ -213,13 +213,13 @@ def save_conversation(
"role": "assistant",
"content": "Summarise following conversation in no more than 3 "
"words, respond ONLY with the summary, use the same "
"language as the system",
"language as the user query",
},
{
"role": "user",
"content": "Summarise following conversation in no more than 3 words, "
"respond ONLY with the summary, use the same language as the "
"system \n\nUser: " + question + "\n\n" + "AI: " + response,
"user query \n\nUser: " + question + "\n\n" + "AI: " + response,
},
]