Commit Graph

36 Commits

Author SHA1 Message Date
jhqxxx ea78da7834 add LFM2.5-VL-1.6B|LFM2-VL-1.6B 2026-03-30 00:44:41 +08:00
jhqxxx 9224593b78 add LFM2-1.2B, LFM2.5-1.2B-Instruct 2026-03-23 22:07:41 +08:00
jhqxxx 6890f86030 add deepseek-ocr2 support 2026-03-18 19:15:21 +08:00
jhqxxx 55a5007c07 add PaddleOCR-VL1.5 support 2026-03-17 21:30:50 +08:00
jhqxxx fb4a50f745 cli add about gguf param 2026-03-17 15:39:34 +08:00
jhqxxx 9c9275b767 api add /v1/ 2026-03-14 23:10:40 +08:00
XiaoYang 8ec2ef6ad3 fmt: format code according to rustfmt standards 2026-03-10 21:45:04 +08:00
XiaoYang 2f452ab925 feat(cli): add model download verification and update model listing output(cli/json) 2026-03-10 21:34:03 +08:00
jhqxxx cf308f93eb Merge branch 'pr/jasonzou/31' 2026-03-07 14:25:44 +08:00
jason 3156818a0c glm-ocr 2026-03-05 23:49:49 -05:00
XiaoYang 63a89b0c96 feat(api): add OpenAI-compatible ASR transcription endpoint
- Implement POST /audio/transcriptions and /v1/audio/transcriptions
  endpoints for automatic speech recognition
- Add support for multipart/form-data audio file uploads
- Support multiple audio formats (wav, mp3, m4a, etc.)
- Implement language detection with 29 supported languages
- Return transcription text in OpenAI-compatible JSON format
- Add proper error handling and validation
- Include comprehensive tests for ASR functionality

refactor(api): restructure API modules and export MODEL

- Move API declarations to src/api/mod.rs
- Add ASR module and type definitions
- Export MODEL static for use in ASR module
- Mount ASR routes at both /audio and /v1/audio endpoints
2026-03-06 11:41:32 +08:00
jhqxxx 4ae8b0b2f4 add Qwen3.5 model 2026-03-05 21:57:03 +08:00
jhqxxx 28f8fb6c1b update fmt 2026-02-14 16:34:12 +08:00
XiaoYang da32a35b45 feat(cli): add 'list' subcommand to display supported models with optional JSON output 2026-02-09 21:35:58 +08:00
XiaoYang b81f63fcbd feat(cli): add delete subcommand to remove downloaded models 2026-02-08 13:56:57 +08:00
XiaoYang ba16c9edf5 feat: add graceful shutdown endpoint and cli service management
- Add /shutdown endpoint for graceful server shutdown
- Add 'aha ps' command to list running services
- Add comprehensive API documentation for shutdown endpoint
- Enhance CLI with --allow-remote-shutdown flag
- Implement process management module with service discovery
- Add graceful shutdown handling for Ctrl+C signals
2026-02-08 13:24:29 +08:00
XiaoYang 390d916ea6 feat(api): add health check and models endpoints with documentation
- Add /health endpoint to check service status for orchestration systems
- Add /models endpoint with OpenAI API compatible format
- Document new endpoints in both English and Chinese API docs
- Include example usage and response formats in documentation
- Add comprehensive test coverage for health and models endpoints
- Refactor model storage to include type information alongside instance
- Move model ID and type methods to WhichModel implementation
- Update API calls to access model instance through stored wrapper
2026-02-08 12:10:40 +08:00
XiaoYang ca16051065 feat(cli): make weight path optional with default location
Change --weight-path argument from required to optional in both serv and run
subcommands. When not specified, it defaults to ~/.aha/{model_id}. Add
get_default_weight_path function to handle the default path resolution.
Update help text to reflect the optional nature of the weight path parameter.
2026-02-06 17:54:15 +08:00
jhqxxx 1c507a7b12 add qwen3-asr 2026-02-05 00:43:49 +08:00
jhqxxx f2cb6bf976 merge main 2026-02-02 17:56:34 +08:00
jhqxxx 16e3aefaa7 fix aha run multiple inputs bug 2026-01-31 18:37:28 +08:00
jhqxxx 292dfd31e4 merge pr/go-restream/20 2026-01-30 22:17:00 +08:00
jhqxxx e3944588fc index tts stash save 2026-01-30 22:04:23 +08:00
XiaoYang f010087e97 ```
feat(cli): add direct model inference via new run subcommand

- Add `aha run` CLI subcommand for direct model inference without HTTP service
- Support multiple models including Qwen series, OCR models, ASR models, and voice generation
- Implement input/output handling with file path support and auto-generation
- Add comprehensive documentation in CLI_USAGE.md with examples
- Include performance timing for model loading and inference operations
- Add macOS build target to Makefile with Metal support
```
2026-01-21 18:41:11 +08:00
XiaoYang 861c411ba2 feat: CLI Subcommand Support
- **CLI Subcommand Support**: Added three new subcommands for better command organization:
  - `aha cli` - Download model and start HTTP service (default, backward compatible)
  - `aha serv` - Start HTTP service only (requires `--weight-path`)
  - `aha download` - Download model only (no service start)
2026-01-20 22:15:45 +08:00
jhqxxx d9b803d27e add qwen3 and fun-asr-nano 2026-01-15 21:57:12 +08:00
jhqxxx 6ef8facfde add glm-asr-nano 2026-01-07 21:46:01 +08:00
jhqxxx 3ba4de8a7d deploy add address 2025-12-26 14:56:17 +08:00
jhqxxx 9a4fa636be add image api and audio api 2025-12-25 20:25:52 +08:00
jhqxxx 4228616058 add paddleocr-vl 2025-12-09 00:41:30 +08:00
jhqxxx 697484cf23 add hunyuan_ocr 2025-12-03 17:21:01 +08:00
jhqxxx 43703d1b63 merge deploy 2025-11-27 14:28:47 +08:00
jhqxxx 4e7573e4ff update readme and fmt 2025-11-13 01:03:52 +08:00
Ziyi b5cfcb4684 add qwen3vl 4b, 8b, 32b 2025-11-12 03:20:55 -10:00
jhqxxx d15cd45315 add deploy model 2025-11-05 14:46:03 +08:00
jhqxxx f523995801 init 2025-09-21 10:13:18 +08:00