37 lines
1.0 KiB
Markdown
37 lines
1.0 KiB
Markdown
# OmniChat
|
||
|
||
Android client that combines Cherry Studio–style high-fidelity image edits with Open WebUI–style long-running, OpenAI-compatible chat.
|
||
|
||
## Requirements
|
||
|
||
- Android Studio Ladybug (2024.2+) or newer
|
||
- JDK 17
|
||
- Android SDK 35 (device or emulator; tested target: Android 15)
|
||
|
||
## Open in Android Studio
|
||
|
||
1. **File → Open** and select this folder (`MyOpenChat`)
|
||
2. Wait for Gradle Sync
|
||
3. Run the `app` configuration on a phone/emulator (API 29+)
|
||
|
||
## CLI build
|
||
|
||
```bash
|
||
./gradlew :app:assembleDebug
|
||
```
|
||
|
||
On Windows PowerShell:
|
||
|
||
```powershell
|
||
.\gradlew.bat :app:assembleDebug
|
||
```
|
||
|
||
## Current status (Phase 1–4)
|
||
|
||
- Compose + Material 3 shell with tabs: 对话 / 生图 / 设置
|
||
- Network: shared OkHttp pool, chat/image clients, OpenAI-compatible APIs + SSE
|
||
- Room + encrypted API keys + Provider/Model settings
|
||
- Chat: streaming multimodal + Path C「生图模式」
|
||
- SmartImageRouter: Path A generations/edits, Path B chat multimodal, b64/url 落盘
|
||
- Foreground service during image gen + save to system gallery
|