feat: cf-orch integration — CFOrchClient for recipe gen + Docuvision OCR fast-path #11
No reviewers
Labels
No labels
accessibility
backlog
beta-feedback
bug
duplicate
enhancement
feature-request
help wanted
invalid
needs-design
needs-triage
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/kiwi#11
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/orch-auto-lifecycle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
CFOrchClient.allocate(service="vllm", ...)whenCF_ORCH_URLenv is set; falls back toLLMRouterwhen not configuredapp/services/ocr/docuvision_client.py) for thecf-docuvisionvision service — sends base64-encoded images, returnsDocuvisionResult_try_docuvision()invl_model.pyruns before the local VLM; only accepts results with meaningful parsed content (items or merchant); degrades gracefully withDEBUGlogging on any failuremissing_ingredients: now correctly subtracts pantry items from the LLM ingredient list before building the missing listTest Plan
conda run -n cf pytest tests/ -v)CF_ORCH_URL=http://heimdall:7700in kiwi.env; verify recipe gen routes through cf-orchCF_ORCH_URLunset, verify both paths fall back to local modelsPull request closed