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": {