Improve conversation history handling and prompts for line questions

This commit is contained in:
benedict.lee
2025-04-21 16:50:37 +09:00
parent e11c2e1c7f
commit 8b4bf49f1c
2 changed files with 20 additions and 9 deletions

View File

@ -49,7 +49,12 @@ Previous discussion on this code:
======
{{ conversation_history|trim }}
======
Use this prior discussion context to provide a consistent and informed answer.
Consider this conversation history (format: "Username: Message"). When responding:
- Maintain consistency with previous technical explanations
- Address unresolved issues from earlier discussions
- Build upon existing knowledge without contradictions
- Incorporate relevant context while focusing on the current question
{%- endif %}
A question about the selected lines: