Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 75ca7cf

Browse files
committed
prompt und
1 parent f2d0eff commit 75ca7cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/personas/locale_detector.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ def system_prompt
3232
3333
If the language is not in this list, use the appropriate IETF language tag code.
3434
35-
5. Format your response as a JSON object with a single key "locale" and the value as the language code.
35+
5. Avoid using `und` and prefer `en` over `en-US` or `en-GB` unless the text specifically indicates a regional variant.
36+
37+
6. Format your response as a JSON object with a single key "locale" and the value as the language code.
3638
3739
Your output should be in the following format:
3840
<output>

0 commit comments

Comments
 (0)