deerflow2/src/server
Willem Jiang e675d4e1c2 feat: Add comprehensive Chinese localization support for issue #412 (#649)
* feat: Add comprehensive Chinese localization support for issue #412

          - Add locale parameter to ChatRequest model to capture user's language preference
          - Implement language-aware template loading in template.py with fallback to English
          - Update all apply_prompt_template calls to pass locale through the workflow
          - Create Chinese translations for 14 core prompt files:
            * Main agents: coordinator, planner, researcher, reporter, coder
            * Subprocess agents: podcast_script_writer, ppt_composer, prompt_enhancer
            * Writing assistant: all 6 prose prompts
          - Update app.py to extract and propagate locale through workflow state
          - Support both zh-CN and en-US locales with automatic fallback
          - Ensure locale flows through all agent nodes and template rendering

* address the review suggestions
2025-10-24 16:31:19 +08:00
..
__init__.py chore: add license headers 2025-04-17 11:34:42 +08:00
app.py feat: Add comprehensive Chinese localization support for issue #412 (#649) 2025-10-24 16:31:19 +08:00
chat_request.py feat: Add comprehensive Chinese localization support for issue #412 (#649) 2025-10-24 16:31:19 +08:00
config_request.py feat: add deep think feature (#311) 2025-06-14 13:12:43 +08:00
mcp_request.py fix: env parameters exception when configuring SSE or HTTP MCP server (#513) 2025-08-20 17:23:57 +08:00
mcp_utils.py feat: support dify in rag module (#550) 2025-09-16 20:30:45 +08:00
rag_request.py feat: rag retrieving tool call result display (#263) 2025-05-29 19:52:34 +08:00