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
+5 -17
View File
@@ -1,28 +1,16 @@
/** Shown where people decide: the analyses are written by top AI models. */
/** Shown where people decide: the analyses are written by top AI models (never named: a business secret). */
export const AI_SHORT =
"A legfejlettebb AI-modellek írják: egy tapasztalt asztrológus írásos elemzéséhez közelítő mélység, töredék áron.";
/** `anthropic/claude-opus-5.5` → `Claude Opus 5.5`. */
export function modelName(id: string | null | undefined): string | null {
const name = id?.split("/").pop()?.trim();
if (!name) return null;
return name
.split("-")
.map((w) => w.charAt(0).toUpperCase() + w.slice(1))
.join(" ");
}
/** A highlighted note on the analysis quality, optionally naming the model in use. */
export function AiNote({ model }: { model?: string | null }) {
const name = modelName(model);
/** A highlighted note on the analysis quality. */
export function AiNote() {
return (
<section className="card ai-note" aria-labelledby="ai-note-title">
<span className="eyebrow">Az elemzésekről</span>
<h2 id="ai-note-title">Profi mélység, töredék áron</h2>
<p className="muted">
Az elemzéseket a legfejlettebb AI-modellek írják{name ? ` (jelenleg: ${name})` : ""}, a képleted pontos
pozícióiból. Részletességben és árnyaltságban megközelítik egy tapasztalt asztrológus írásos elemzését, annak
az árnak a töredékéért.
Az elemzéseket a legfejlettebb AI-modellek írják, a képleted pontos pozícióiból. Részletességben és
árnyaltságban megközelítik egy tapasztalt asztrológus írásos elemzését, annak az árnak a töredékéért.
</p>
</section>
);