comments
This commit is contained in:
parent
75428fb60e
commit
a084c7a685
2 changed files with 2 additions and 5 deletions
|
|
@ -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.
|
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
|
## Core Rules
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -754,10 +754,7 @@ def createContext(config, subbedText, formatType, history=None):
|
||||||
return static_system, matchedVocabText, user
|
return static_system, matchedVocabText, user
|
||||||
|
|
||||||
|
|
||||||
# Static array-based schema for structured JSON output. A fixed schema is
|
# Static array-based schema for structured JSON output.
|
||||||
# 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.
|
|
||||||
_TRANSLATION_SCHEMA = {
|
_TRANSLATION_SCHEMA = {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue