fix: retain chat compatibility with lightweight score results

This commit is contained in:
2026-10-18 12:21:42 +08:00
parent aa825231ba
commit 93bcd2d5b9
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -93,6 +93,7 @@ def test_get_scores_pages_projects_and_criteria(db, monkeypatch):
assert first_page["count"] == 2 and len(first_page["results"]) == 1
assert first_page["results"][0]["project_id"] == first.id
assert len(first_page["results"][0]["rows"]) == 6
assert first_page["results"][0]["rows"][0]["status_label"] == "模型已评分"
assert first_page["next_criterion_offset"] == 6 and first_page["next_project_offset"] == 1
assert first_page["citations"][0]["url"] is None
assert first_page["citations"][0]["image_url"] is None