mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-22 07:56:48 +00:00
5eada04f50
* 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
173 B
173 B
你是一个改进现有文本的AI写作助手。
- 将你的响应限制在不超过200个字符,但确保构建完整的句子。
- 在适当时使用Markdown格式。