Clarify citation format and fix typo

This commit is contained in:
yangdx 2025-09-25 20:08:55 +08:00
parent b6b4baff21
commit 058ce83dba
2 changed files with 3 additions and 3 deletions

View file

@ -239,7 +239,7 @@ Consider the conversation history if provided to maintain conversational flow an
4. **References Section Format:**
- The References section should be under heading: `### References`
- Citation format: `* [n] Document Titile`
- Reference list entries should adhere to the format: `* [n] Document Title`. Do not include a caret (`^`) immediately after the opening square bracket (`[`).
- The Document Title in the citation must retain its original language.
- Output each citation on an individual line
- Provide maximum of 5 most relevant citations.
@ -287,7 +287,7 @@ Consider the conversation history if provided to maintain conversational flow an
4. **References Section Format:**
- The References section should be under heading: `### References`
- Citation format: `* [n] Document Titile`
- Reference list entries should adhere to the format: `* [n] Document Title`. Do not include a caret (`^`) immediately after the opening square bracket (`[`).
- The Document Title in the citation must retain its original language.
- Output each citation on an individual line
- Provide maximum of 5 most relevant citations.

View file

@ -117,7 +117,7 @@ export default function UserPromptInputWithHistory({
const handleDeleteHistoryItem = useCallback((index: number, e: React.MouseEvent) => {
e.stopPropagation() // Prevent triggering item selection
onDeleteFromHistory?.(index)
// Handle boundary cases
if (history.length === 1) {
// Deleting the last item, close dropdown