Commit Graph

20 Commits (4fbb15f3d0cfcbe390ae363a539432a8a92d06b9)

Author SHA1 Message Date
sp mac bookpro 2605 4fbb15f3d0 feat: 更新Agent模型配置使用model_id
- AiModel接口新增model_id字段
- ModelCheckboxDropdown使用model_id作为checkbox的value
- 保存时将model_id数组用逗号拼接成字符串提交
- 修改normalize函数,使用','作为分隔符(不带空格)
2026-06-03 01:42:54 +08:00
sp mac bookpro 2605 dfab0f6d43 fix: 修复流式聊天错误处理并增加model_id参数
- 流式请求失败时不再隐藏用户消息,而是展示错误回复
- 在 ChatMessage.meta 类型中增加 error 字段用于标记错误消息
- 在 streamChat 函数中增加 model_id 参数
- 在 ModelOverrides 类型中增加 model_id 字段
2026-06-03 01:23:29 +08:00
sp mac bookpro 2605 92ef2c38c8 fix: 修复流式聊天发生错误时继续处理后续事件的问题
- 增加 hasError 标记,错误发生后立即停止处理后续事件
- 在 done 事件处理前检查是否已有错误
- 在 finally 中确保 reader 被正确关闭
- 防止错误发生后,done 事件继续执行导致历史响应被错误回填
2026-06-03 01:16:24 +08:00
sp mac bookpro 2605 e1cf2dfc40 feat: 积分商城功能优化与消费积分打通
- 积分消费打通:1美元=1000积分
- 优化积分商城页面,移除alert组件
- 新增兑换弹窗,支持完整收货地址表单
- 统计页面新增消费与积分展示
- 重构静态内联样式为CSS类,新增30+语义化样式类
2026-06-02 23:46:00 +08:00
sp mac bookpro 2605 b083d3e064 .. 2026-06-02 21:29:17 +08:00
sp mac bookpro 2605 0fb6c4d255 fix: knowledge status fallback and avatar partial update 2026-06-01 15:46:09 +08:00
sp mac bookpro 2605 6b8ccf0af2 feat: points mall page and api spec 2026-05-30 20:31:24 +08:00
sp mac bookpro 2605 b2df36647c feat: token stats and feature gating 2026-05-29 22:39:13 +08:00
sp mac bookpro 2605 b6090f0897 feat(chat): handle retry SSE event 2026-05-29 20:56:40 +08:00
sp mac bookpro 2605 cb115f1a88 fix(chat): respect user scroll and tighten markdown 2026-05-29 20:43:28 +08:00
sp mac bookpro 2605 f7abd99a3e feat(chat): stream reasoning via SSE 2026-05-29 20:21:12 +08:00
sp mac bookpro 2605 72dc484f80 fix(chat): create session and send model for stream 2026-05-29 15:48:20 +08:00
sp mac bookpro 2605 1d79e929f9 feat(chat): load allowed llms per agent 2026-05-29 13:58:04 +08:00
sp mac bookpro 2605 604d549a79 fix(router): support /aura basename deployment 2026-05-28 16:17:27 +08:00
sp mac bookpro 2605 7cf68160a8 feat(agent): support selecting models from api with calculated prices 2026-05-25 23:03:19 +08:00
sp mac bookpro 2605 d336ea50af chore(api): change all production api endpoints to hoyidata.com 2026-05-24 20:58:13 +08:00
sp mac bookpro 2605 c03e54867f refactor(api): use absolute production URLs for all API calls instead of local proxy 2026-05-24 20:01:52 +08:00
sp mac bookpro 2605 e474b4578d fix(auth): keep mock login and update title
- index.html 标题更新为 驷马智能
- mock 登录持久化到 localStorage,刷新不丢失
- mock 模式下 401 不再自动重定向回 /login,避免无法进入内部页面
2026-05-24 17:37:45 +08:00
sp mac bookpro 2605 889a58b4e8 feat(login): refactor layout and defer auth request
- Login 内容区固定 1440px,左右分栏对齐
- 将 LoginPage 内联样式抽离到 styles.css
- 移除启动时 /api/auth/me;改为点击登录时调用 https://api.redhare.cc/aura/v1/urser(失败默认通过)
2026-05-24 16:47:38 +08:00
sp mac bookpro 2605 607b9bb9e7 chore: migrate from my-content-site (Next.js) to Vite-based aura-web
- Remove legacy my-content-site Next.js scaffold
- Add new Vite project structure (src/, public/, index.html, vite.config.ts)
- Add Docker support (Dockerfile, docker-compose.yml, nginx.conf)
- Add .env.example, .gitignore and updated README
2026-05-24 16:19:15 +08:00