fix: feedback CSV export leaves the chat_id column empty (#32169)

Exporting feedback as CSV from Admin Settings > Evaluations > Feedback left the chat_id column empty on every row. Each row now holds the ID of the chat the feedback was given in, the same ID that appears in the chat's URL.

Fixes #32021
This commit is contained in:
Classic298 2026-10-10 17:49:12 +02:00 • committed by GitHub
parent 2cdf015217
commit b6a7820a2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,7 +160,7 @@
return {
id: rest.id,
user_id: rest.user_id,
chat_id: data?.chat_id ?? '',
chat_id: rest.meta?.chat_id ?? '',
model_id: data?.model_id ?? '',
sibling_model_ids: (data?.sibling_model_ids ?? []).join(';'),
rating: data?.rating ?? '',