Never show which AI model writes the analyses
CI / test (push) Successful in 54s
CI / build (push) Successful in 4m7s
CI / deploy (push) Skipped

The model name was in the public config, in every analysis response, in
/v1/credits, on the packages page and in the example page data. Admins
still see it in the prompt trials.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-18 06:30:00 +00:00
co-authored by Claude Opus 5.5
parent 6d2ad4aa0c
commit 03ce97eeaf
8 changed files with 22 additions and 35 deletions
-1
View File
@@ -130,7 +130,6 @@ pub async fn credits(State(state): St, auth: AuthUser) -> ApiResult<Json<Value>>
.await?;
Ok(Json(json!({
"balance": balance.view(),
"analysis_model": state.config.analysis_model,
"ledger": ledger.into_iter().map(|(id, unit, delta, reason, analysis_id, note, at)| json!({
"id": id, "unit": unit, "delta": delta, "reason": reason,
"analysis_id": analysis_id, "note": note, "created_at": rfc3339(at),