Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
0020287
feat: add MCP Client Manager and dependencies for Word export integra…
songhahaha66 Nov 29, 2025
c258b9a
Squashed 'backend/office_word_mcp/' content from commit 568d8d8
songhahaha66 Nov 29, 2025
ba4b2d0
Merge commit 'c258b9ac01590a8bf6b64adc4e0d0d68011f1320' as 'backend/o…
songhahaha66 Nov 29, 2025
a6b20c7
fix: update paths to use office_word_mcp subtree directory
songhahaha66 Nov 29, 2025
7eb4494
feat(works): add output_mode field to support multiple export formats
songhahaha66 Nov 29, 2025
d08a353
feat(output-modes): add Word document export support with MCP integra…
songhahaha66 Nov 30, 2025
8c43ff8
refactor(word-tools): migrate Word tools from MCP manager to direct L…
songhahaha66 Nov 30, 2025
e728cf2
feat(main-agent): add comprehensive debugging and tool invocation log…
songhahaha66 Nov 30, 2025
813e019
feat(main-agent): enhance output mode handling and refine system prom…
songhahaha66 Nov 30, 2025
58731c1
feat(core-agents): introduce WriterAgent for document operations dele…
songhahaha66 Nov 30, 2025
5567564
feat(writer-agent): add dedicated LLM configuration support for Write…
songhahaha66 Nov 30, 2025
eba276b
feat(core-agents): refine MainAgent and WriterAgent prompts for auton…
songhahaha66 Nov 30, 2025
7fad3ba
feat(template): 添加输出格式支持,更新模板创建和获取逻辑
songhahaha66 Nov 30, 2025
f730333
feat(template): add output_format field to template creation
songhahaha66 Nov 30, 2025
b964b50
style(login): add logo to login page header
songhahaha66 Nov 30, 2025
ea88924
feat(agents,ui): refactor agent output handling and add JSON block co…
songhahaha66 Dec 1, 2025
6c22ef1
style(BinaryFileViewer): improve layout and overflow handling
songhahaha66 Dec 1, 2025
822a060
refactor(langchain_tools): remove explicit args_schema from Structure…
songhahaha66 Dec 1, 2025
af2969f
chore(docs,docker): remove PA_DATA_PATH_CONFIG documentation and upda…
songhahaha66 Dec 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 0 additions & 131 deletions PA_DATA_PATH_CONFIG.md

This file was deleted.

3 changes: 2 additions & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*

# 复制依赖文件
# 复制依赖文件和工作区成员
COPY pyproject.toml ./
COPY office_word_mcp ./office_word_mcp

# 安装 uv
RUN pip install --no-cache-dir uv
Expand Down
5 changes: 3 additions & 2 deletions backend/ai_system/core_agents/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"""
AI系统核心代理模块 - LangChain 重构版本
包含MainAgent、CodeAgent等核心代理类
包含MainAgent、CodeAgent、WriterAgent等核心代理类
"""

from .main_agent import MainAgent
from .code_agent import CodeAgent
from .writer_agent import WriterAgent

__all__ = ['MainAgent', 'CodeAgent']
__all__ = ['MainAgent', 'CodeAgent', 'WriterAgent']
2 changes: 1 addition & 1 deletion backend/ai_system/core_agents/agent_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async def _execute_tool_call(self, tool_call: Dict[str, Any], index: int = 1, to
# 发送工具调用完成通知
if self.stream_manager:
try:
await self.stream_manager.print_main_content(f"工具 {function_name} 执行完成,结果长度: {len(tool_result)} 字符")
await self.stream_manager.print_main_content(f"工具 {function_name} 执行完成")
except Exception as e:
logger.warning(f"发送工具完成通知失败: {e}")

Expand Down
2 changes: 1 addition & 1 deletion backend/ai_system/core_agents/code_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def run(self, task_prompt: str) -> str:
try:
await self.stream_manager.send_json_block(
"code_agent_result",
f"CodeAgent任务完成,结果长度: {len(output)}",
output,
)
except Exception as e:
logger.warning("发送CodeAgent完成通知失败: %s", e)
Expand Down
Loading