Commit Graph

295 Commits

Author SHA1 Message Date
dengxuan 968d800110 fix(embed): to_dtype F32 before to_vec1以适应 F16 模型
ci / cargo fmt (push) Failing after 1m45s
ci / cargo clippy (push) Failing after 4m20s
ci / build and test (push) Successful in 4m33s
2026-07-25 14:12:07 +08:00
dengxuan 2df0929440 feat(embed): MiniCPM4 embed/embed_batch + MiniCPM4GenerateModel embed_text/embed_text_batch
ci / cargo fmt (push) Failing after 2m43s
ci / cargo clippy (push) Failing after 5m9s
ci / build and test (push) Successful in 8m32s
- MiniCPMModel::embed: run forward through layers + norm, mean pool, L2 normalize
- MiniCPMModel::embed_batch: batch version
- MiniCPM4GenerateModel::embed_text: tokenize + embed + return Vec<f32>
- MiniCPM4GenerateModel::embed_text_batch: batch version
2026-07-25 13:03:25 +08:00
jhqxxx e29ddc589d update doc 2026-06-07 13:27:22 +08:00
jhqxxx b164779af4 update doc 2026-06-06 18:45:40 +08:00
jhqxxx a2d0f64c5b add PaddleOCR-VL-1.6 2026-06-06 18:41:29 +08:00
jhqxxx cb2fe57359 update weixinqun qrcode 2026-05-31 19:10:34 +08:00
jhqxxx c1b84f880e update doc 2026-05-30 19:31:43 +08:00
jhqxxx 69af1ceba5 update doc 2026-05-30 13:19:58 +08:00
jhqxxx 791f3ea7e3 generate code refactored 2026-05-29 22:10:40 +08:00
jhqxxx 257057de07 generate code refactoring progress 1/3 2026-05-28 23:21:15 +08:00
jhqxxx 0ac15554a3 update fmt 2026-05-27 15:54:02 +08:00
jhqxxx 35678e3ee4 add MiniCPM5-1B 2026-05-27 00:50:23 +08:00
jhqxxx ac5bd03ee3 update doc 2026-05-26 21:59:43 +08:00
jhqxxx 754145246c update doc 2026-05-24 19:26:47 +08:00
jhqxxx 925e5dd7c0 update weixinqrcode 2026-05-17 23:38:15 +08:00
jhqxxx 73510190a5 add todo.md 2026-05-13 15:39:19 +08:00
jhqxxx d56f4c9d1d update fmt 2026-05-11 16:27:17 +08:00
jhqxxx 8f1cbbbf8d update readme 2026-05-11 16:23:38 +08:00
jhqxxx a14b9e1e90 add moss-tts-nano 2026-05-11 16:15:09 +08:00
jhqxxx d38ed80ab4 merge main 2026-05-09 16:42:26 +08:00
jhqxxx 7e736ce8a0 update weixinqun qrcode 2026-05-09 16:29:33 +08:00
jhqxxx 50f55c47b5 readme add aha-ui 2026-05-09 16:23:41 +08:00
jhqxxx 6be4d7ccc4 update find_aha_binary 2026-05-09 16:22:29 +08:00
jhqxxx e8bf980b38 stash save 2026-05-09 12:18:16 +08:00
PoRi 14f96e3b69 Merge branch 'jhqxxx:main' into main 2026-05-08 11:39:45 +08:00
jhqxxx 5df1f30f83 update messy 2026-04-25 19:08:48 +08:00
jhqxxx 0d408c6d06 fix voxcpm dtype bug 2026-04-25 18:47:00 +08:00
jhqxxx 001e4e00f5 fix voxcpm narrow bug 2026-04-25 18:43:36 +08:00
PoRi 771a71436f feat(core): 添加模型下载路径配置功能
- 新增 get_default_save_dir Tauri 命令用于获取默认保存目录
- 修改 download_model 命令支持自定义保存路径参数
- 在模型页面集成本地存储的保存路径配置
- 添加 MSW 到 pnpm 工作区允许构建列表

feat(ui): 添加模型设置页面

- 创建新的设置页面用于配置模型下载路径
- 实现路径选择、保存和重置功能
- 集成到侧边栏导航菜单中
- 使用 localStorage 持久化保存用户配置

refactor(routes): 重构设置页面路由结构

- 移除旧的侧边栏导航组件
- 更新路由配置以支持新的模型设置页面
- 生成相应的路由类型定义更新

feat(server): 添加 OpenAI 兼容的模型接口

- 在 /v1 路径下添加 models 接口端点
- 提供与 OpenAI API 兼容的模型列表功能
2026-04-25 18:39:21 +08:00
PoRi a15d39187c feat(ui): 添加API使用指南页面
- 新增usage页面组件,包含API使用文档和示例代码
- 添加BookOpen图标用于使用指南菜单项
- 在侧边栏导航中增加"使用指南"链接,指向/usage路径
- 集成到路由系统,支持访问/usage路径
- 提供多种编程语言的API调用示例(bash、python、typescript)
- 支持流式输出和非流式输出的API调用方式
- 集成OpenAI SDK使用示例
2026-04-25 17:40:20 +08:00
PoRi b5305dbfb0 ```
feat(ui): 添加多个UI组件并删除logo副本文件

添加了以下UI组件:
- alert-dialog.tsx - 警告对话框组件
- alert.tsx - 提示组件
- avatar.tsx - 头像组件
- badge.tsx - 徽章组件
- button.tsx - 按钮组件
- calendar.tsx - 日历组件
- card.tsx - 卡片组件
- checkbox.tsx - 复选框组件
- collapsible.tsx - 折叠组件
- command.tsx - 命令组件
- dialog.tsx - 对话框组件

同时删除了src/assets/logo copy.tsx文件
```
2026-04-25 17:15:56 +08:00
PoRi 3bec94d5cc 去除原先的页面 2026-04-25 17:09:29 +08:00
PoRi 6cf1681a42 feat 使用 shadcn-admin 2026-04-25 17:09:20 +08:00
jhqxxx e45014b8e0 update voxcpm stream 2026-04-25 16:28:22 +08:00
PoRi 88fa2666d2 feat: 更新依赖包版本并调整Windows编译配置
- 将zip包版本从7.2.0升级到8.5.1,并更新相关依赖关系
- 升级constant_time_eq包从0.3.1到0.4.2
- 升级lzma-rust2包从0.15.7到0.16.2
- 更新getrandom包从0.3.4到0.4.2
- 移除不再需要的crc和crc-catalog包
- 移除zeroize_derive包的独立依赖项
- 在Windows MSVC目标中启用静态CRT链接(+crt-static)
- 为zip包添加crc32fast、indexmap等新依赖项
- 删除vendor/esaxx-rs目录下的废弃文件
2026-04-25 16:12:02 +08:00
PoRi 5ee15165df feat: 添加 esaxx-rs 依赖并更新 Windows 构建配置
- 添加 esaxx-rs 依赖库 (0.1.10)
- 更新 zip 依赖从 7.2.0 到 8.5.1
- 更新 crc-catalog 依赖从 2.4.0 到 2.5.0
- 为 Windows MSVC 目标添加构建配置,禁用静态 CRT 链接
- 移除本地 vendor 路径补丁,改用 crates.io 版本

chore(aha-ui): 更新前端项目配置和界面

- 将 CSS 文件路径从 src/App.css 改为 src/index.css
- 更新 HTML 标签语言属性为 zh-CN
- 修改页面标题为"AHA 模型启动器"
- 移除默认的 vite 图标链接
- 为前端添加 Windows 构建配置

Co-authored-by: Copilot <copilot@github.com>
2026-04-25 16:12:02 +08:00
PoRi 5ca96c4092 feat 集成shadcn
Co-authored-by: Copilot <copilot@github.com>
2026-04-25 16:12:02 +08:00
PoRi e9a33e74fd init 2026-04-25 16:12:02 +08:00
jhqxxx f374b77acd update voxcpm stream 2026-04-25 15:55:23 +08:00
jhqxxx 3ce5d8d024 update weixinqun qrcode 2026-04-25 15:01:45 +08:00
jhqxxx fabfb55e43 fix voxcpm stream start noise 2026-04-25 14:41:12 +08:00
jhqxxx f390f249b7 fix voxcpm stream end noise 2026-04-25 14:23:41 +08:00
jhqxxx 60a0ad69be refact voxcpm 2026-04-24 21:34:04 +08:00
jhqxxx 9e1adff2a1 update messy 2026-04-22 16:53:51 +08:00
jhqxxx dc15a48d14 update fmt 2026-04-20 23:44:18 +08:00
jhqxxx 0017bcd924 fix FireRedVad detect_frame bug 2026-04-20 15:15:13 +08:00
jhqxxx deb8027a82 qwen3.5 add generate text methods 2026-04-18 14:24:50 +08:00
jhqxxx aae2446755 update aha wechat group qrcode 2026-04-18 13:36:16 +08:00
jhqxxx 3596b3ff84 update asr audio tensor 2026-04-17 20:24:35 +08:00
jhqxxx 0cb979145f pub use DType and Tensor 2026-04-17 19:46:34 +08:00