(value: Any = None)
| 37 | |
| 38 | |
| 39 | def _normalize_response_language(value: Any = None) -> str: |
| 40 | raw = str(value or "").strip().lower().replace("_", "-") |
| 41 | return "en" if raw.startswith("en") or raw == "english" else "zh" |
| 42 | |
| 43 | |
| 44 | def _system_prompt(response_language: str) -> str: |
no outgoing calls
no test coverage detected