xiaozhi-esp32-server/main/xiaozhi-server/tests/core/utils
lapy feb6edb47f fix(westernization): runtime English surface, voiceprint truth, CI gates
Server runtime:
- translate model-visible strings: direct_answer tool schema, web_search
  tool desc/errors/results, call_device tool desc/replies, hass_state
  desc/report strings; they were Chinese text fed to LLMs and devices
- replace Chinese pconline geocoder with ip-api.com (English city names)
- prompt_manager: drop dead Chinese WEEKDAY_MAP, stop forcing lang=zh_CN
  for weather, English fallback location
- delete orphan alibl_endpoint.py (no importers after AliBL removal) and
  dead initialize_voiceprint() calling a nonexistent ASR hook
- translate mcp_server_settings.json descriptors
- test_current_time: assert English weekday/date behavior (upstream test
  still expected Chinese weekdays)

Docs/branding:
- README and docs/guides/voiceprint.md: voiceprint IS implemented via the
  HTTP VoiceprintProvider; document the real protocol (health/identify)
  and privacy notes instead of falsely claiming the feature is missing
- issue templates: English

Ops:
- Dockerfile-server-base: drop Aliyun PyPI mirror from published image
- LICENSE: keep xinnan-tech copyright notice alongside downstream (MIT)
- CI: run westernization_audit as a gate; make smoke test failure fatal
- westernization.md: point python verification at the real pytest layout
2026-10-11 13:13:07 +01:00
..
__init__.py 加 textUtils 行为测试,11 例 2026-09-02 22:24:35 +08:00
test_current_time.py fix(westernization): runtime English surface, voiceprint truth, CI gates 2026-10-11 13:13:07 +01:00
test_dialogue.py 加对话消息测试 11 例,含异步 2026-09-02 22:24:35 +08:00
test_instance_creators.py 加意图/模型/记忆工厂测试,6 例 2026-09-02 22:24:35 +08:00
test_output_counter.py 加 output_counter 测试,7 例 2026-09-02 22:24:35 +08:00
test_textUtils.py 加 textUtils 行为测试,11 例 2026-09-02 22:24:35 +08:00