Tuned the Japanese mode system prompt and model better
This commit is contained in:
@@ -48,8 +48,14 @@ def _get_japanese_instruction() -> str:
|
||||
"""
|
||||
Returns the Japanese language instruction to append to context.
|
||||
Ensures all responses are in Japanese when in Japanese mode.
|
||||
This is a secondary reminder - the primary enforcement is in the system prompt.
|
||||
"""
|
||||
return "\n\n[CRITICAL INSTRUCTION - 重要な指示]\n**YOU MUST RESPOND ENTIRELY IN JAPANESE (日本語). NO ENGLISH ALLOWED.**\nすべての返答は必ず日本語で行ってください。英語での返答は一切禁止されています。\nこれは最優先の指示です。必ず守ってください。"
|
||||
return """
|
||||
|
||||
[日本語モード有効 - Japanese Mode Active]
|
||||
必ず日本語(ひらがな・カタカナ・漢字)のみで返答してください。
|
||||
ローマ字・英語は使用禁止です。
|
||||
"""
|
||||
|
||||
|
||||
def get_complete_context() -> str:
|
||||
|
||||
Reference in New Issue
Block a user