Files
smartmate/.gitignore
Losita d3cec2a5b9 Version: 0.7.0.dev.260319
 feat(agent): 新增智能排程 Agent 全链路 + ReAct 精排引擎

  🏗️ 智能排程 Graph 编排(阶段 1 基础链路)
  - 新增 scheduleplan 包:state / tool / prompt / nodes / runner / graph 六件套
  - 实现 plan → preview → materialize → apply → reflect → finalize 完整图编排
  - 通过函数注入解耦 agent 层与 service 层,避免循环依赖
  - 路由层新增 schedule_plan 动作,复用现有 SSE + 持久化链路

  🧠 ReAct 精排引擎(阶段 1.5 语义化微调)
  - 粗排后构建"混合日程"(既有课程 + 建议任务),统一为 HybridScheduleEntry
  - LLM 开启深度思考,通过 Swap / Move / TimeAvailable / GetAvailableSlots 四个 Tool 在内存中优化任务时间
  - reasoning_content 实时流式推送前端,用户可见 AI 思考过程
  - 精排结果仅预览不落库,向后兼容(未注入依赖时走原有 materialize 路径)

  📝 文档
  - 新增 ReAct 精排引擎决策记录

  ⚠️ 已知问题:深度思考模式耗时较长,超时策略待优化
2026-03-19 23:18:56 +08:00

28 lines
485 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 1. 编译产物 (Build Artifacts)
/bin/
/dist/
*.exe
*.dll
*.so
# 2. 依赖管理 (Dependencies)
# Go 项目通常不提交 vendor除非你有特殊需求
/vendor/
# 3. 配置文件与敏感信息 (Security & Configs)
# 绝对不要提交包含数据库密码和 Kafka 地址的配置文件
.env
backend/config.yaml
# 4. 临时文件与日志 (Logs & Temp)
*.log
/tmp/
# 5. IDE 与系统文件
.idea/
.vscode/
.DS_Store # Mac 用户必加
.gocache/
.gomodcache/
.claude/
.omc/