Files
map-client-vue/todolist.md
2025-10-16 11:17:45 +08:00

47 lines
1.2 KiB
Markdown
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.

# todolist
## 实现
1. 从cherry-studio代码中移植:
“模型服务”
“显示设置”
“MCP”
模块使用typescript+vue3实现。
火山:
https://ark.cn-beijing.volces.com/api/v3
853e780d-a789-42fc-8f9e-c6a8c3c97082
阿里
https://dashscope.aliyuncs.com/compatible-mode/v1
sk-2546da09b6d9471894aeb95278f96c11
3. 阿里模型直接使用模型ID。
以后再考虑不要使用接口去获取。(先跑通)
🚩
4. MCP 功能叠加。
## 优化
该项目经过反复重构,重构过程关注功能实现,没有关注性能、结构合理性、和实现的优雅性。全量分析,提供优化点及思路。
**先优化,在做数据库改造**
## 问题
1. 优化消息交互。比如标题\内容超长怎么处理❓
2. 上下文的问题?上下文由谁维护❓以及如何维护❓
可以在cherry-studio中验证。
3. 大模型选择不知道是否生效?
4. 前端本地持久化localStorage, 后端Node/Express不使用数据库运行时内存保存。
Pinia store、localStorage、内存状态三处保存数据
使用sqlite3 vs. better-sqlite3持久化性能开销
没有统一的数据源?