chengkai3
|
6d52f24ef3
|
[feat]:[FL-206][新增维度管理功能]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-28 11:01:16 +08:00 |
|
chengkai3
|
7ef266e4a0
|
feat:[FL-181][AI问答要支持function call]
实现AI问答的function call功能,支持调用系统接口进行查询。
改动内容:
1. 数据库扩展:
- 在ai_chat_messages表增加tool_calls和tool_call_id字段
- 创建数据库迁移文件
2. 模型和Schema更新:
- AiChatMessage模型增加tool_calls(JSON)和tool_call_id字段
- AiChatMessageSummary schema增加对应字段
3. Function Call实现:
- 定义4个可调用函数:query_tower_models、query_lines、query_users、query_system_params
- 实现_execute_function处理函数调用并返回格式化结果
- 更新_call_openai_api支持tools参数
4. 消息流程更新:
- 重构send_message支持完整的function call流程
- 流程:用户消息 -> AI请求function call -> 执行函数 -> AI基于结果回复
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-22 23:59:13 +08:00 |
|
chengkai3
|
6519fee729
|
[feat]:[FL-172][用户管理页面新增用户时邮箱放最后,且不要必填]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-18 00:34:20 +08:00 |
|
chengkai3
|
1d11bf9fc3
|
[feat]:[FL-109][增加系统消息发送功能]
- 后端:创建system_messages表模型和Schema
- 后端:实现消息创建、查询、标记已读的服务层
- 后端:新增REST API接口(需admin.system_message权限)
- 前端:完善系统消息抽屉弹窗,显示消息列表
- 前端:自动加载未读数量,支持标记已读
- 数据库:新增迁移脚本建表
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-13 23:27:29 +08:00 |
|
chengkai3
|
07735fb23f
|
feat: [FL-104][高程数据管理中文件明细要展示各个文件的坐标范围]
- 添加 ElevationDatasetFileMeta 数据库模型存储文件级别坐标范围
- 更新 API schema 和 service,返回每个文件的 bbox 信息
- 修改高程数据分析任务,遍历目录所有文件并提取坐标范围
- 前端文件明细表格新增坐标范围列
- 创建数据库迁移脚本
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-13 07:59:08 +08:00 |
|