Refa: change citation mark as [ID:n] (#7923)

### What problem does this PR solve?

Change citation mark as [ID:n], it's easier for LLMs to follow the
instruction :) #7904

### Type of change

- [x] Refactoring
This commit is contained in:
Yongteng Lei
2025-05-29 10:03:51 +08:00
committed by GitHub
parent 7c098f9fd1
commit 0c562f0a9f
3 changed files with 33 additions and 28 deletions

View File

@ -245,7 +245,7 @@ class Dealer:
for c in cites[i]:
if c in seted:
continue
res += f" ##{c}$$"
res += f" [ID:{c}]"
seted.add(c)
return res, seted