chore: jarvisChat → cAIc rename, single-node consolidation on jarvis, Qdrant UUID5 + chunk-size deploy fixes
This commit is contained in:
@@ -6,20 +6,20 @@ Previous task history archived at `docs/archive/TASKS-pre-1.0.md`.
|
||||
|
||||
## TASK 1 — Image Generation Service (corsair)
|
||||
|
||||
**Goal:** Add image generation as a cluster capability. corsair (RTX 5070 Ti, 16 GB) registers as an image gen worker in the cAIc cluster.
|
||||
**Goal:** Add image generation as a cluster capability. The image-gen node (currently jarvis — single-node deployment) registers as an image gen worker in the cAIc cluster.
|
||||
|
||||
### Requirements:
|
||||
|
||||
1. **Add `"image_gen"` capability** to the cluster protocol in `cluster.py` — valid capability values should include `image_gen`
|
||||
2. **Image gen API wrapper on corsair** — run ComfyUI, Automatic1111, or a lightweight API (e.g., `sd-api` or `comfyui-api`) that exposes a simple `POST /generate` endpoint accepting a prompt and returning a PNG
|
||||
3. **Proxy endpoint in cAIc** — `POST /api/image/generate` on the coordinator, routes the request to corsair's image gen service via AMQP or direct HTTP
|
||||
2. **Image gen API wrapper** — run ComfyUI, Automatic1111, or a lightweight API (e.g., `sd-api` or `comfyui-api`) that exposes a simple `POST /generate` endpoint accepting a prompt and returning a PNG
|
||||
3. **Proxy endpoint in cAIc** — `POST /api/image/generate` on the coordinator, routes the request to the image gen service via AMQP or direct HTTP
|
||||
4. **Update `hardware.py`** to probe the image gen service for reachability and status
|
||||
5. **Update node_agent** to report image gen capability and service status on registration
|
||||
|
||||
### Architecture:
|
||||
|
||||
```
|
||||
User prompt → cAIc coordinator → AMQP/HTTP → corsair (ComfyUI/API) → PNG → coordinator → user
|
||||
User prompt → cAIc coordinator → AMQP/HTTP → image-gen node (ComfyUI/API) → PNG → coordinator → user
|
||||
```
|
||||
|
||||
### Considerations:
|
||||
@@ -37,7 +37,7 @@ User prompt → cAIc coordinator → AMQP/HTTP → corsair (ComfyUI/API) → PNG
|
||||
- Verify node_agent registers with `image_gen` capability
|
||||
- Verify 429/503 handling when service is busy or down
|
||||
|
||||
### Status: ✅ Backend Complete (ComfyUI install pending on corsair)
|
||||
### Status: ✅ Backend Complete (ComfyUI install pending on jarvis — single-node deployment)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user