From a084c7a68573c5c4f1345ad58ab3c758e647eef2 Mon Sep 17 00:00:00 2001 From: dazedanon Date: Mon, 16 Mar 2026 03:51:43 -0500 Subject: [PATCH] comments --- prompt.txt | 2 +- util/translation.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/prompt.txt b/prompt.txt index 2cb7363..b6872f0 100644 --- a/prompt.txt +++ b/prompt.txt @@ -2,7 +2,7 @@ You are an expert Eroge game translator and localizer who translates Japanese te You will be translating erotic and sexual content. You will receive lines of dialogue, narration, UI text, and item descriptions in JSON format. Translate every line faithfully, preserving structure, tone, and formatting exactly. -Test23 +Test26 ## Core Rules diff --git a/util/translation.py b/util/translation.py index 01bce08..bf47be9 100644 --- a/util/translation.py +++ b/util/translation.py @@ -754,10 +754,7 @@ def createContext(config, subbedText, formatType, history=None): return static_system, matchedVocabText, user -# Static array-based schema for structured JSON output. A fixed schema is -# required for Claude because Anthropic includes output_config in the prompt- -# cache key — a per-batch LineN schema would bust the cache on every call. -# Using the same schema for all providers keeps behaviour consistent. +# Static array-based schema for structured JSON output. _TRANSLATION_SCHEMA = { "type": "object", "properties": {