Code debugging
“Fix this Python error”
Intelligent inference routing
Clean Food Good Router uses hybrid classical machine learning to classify each request, then LiteLLM routes it to the model best equipped for the work.
LITELLM ROUTE
> Fix this failing Python function
Task detected
Code debuggingSelected model
Kimi K2.7 CodeAnswer route ready
01 / Architecture
A task enters through the inference workflow with its task ID and prompt.
The hybrid classical ML classifier identifies one of eight task categories.
LiteLLM centralises local and Fireworks models behind one call, then writes answers and diagnostics to JSON.
02 / Task routing
Routing is task-aware, while model availability and deployment paths stay configurable.
“Fix this Python error”
“Write a parser”
“What causes tides?”
“Solve this puzzle”
“Calculate the derivative”
“Extract company names”
“Classify this review”
“Condense this report”
03 / Classification
DEPLOYED / HYBRID CLASSICAL ML
The deployed image uses the hybrid classical ML classifier only. It combines a classical model prediction with rule signals to select one of the eight routing categories, keeping the route decision focused, transparent, and lightweight.
The Web GUI uses this same classifier before sending a prompt through LiteLLM.
04 / Developer-ready
Configure Fireworks and the allowed model list through environment variables. LiteLLM makes it straightforward to use the local Ollama model and Fireworks API in the same Docker-oriented workflow.
# Provider configuration
FIREWORKS_API_KEY=your_key_here
FIREWORKS_BASE_URL=https://api.fireworks.ai/inference/v1
# Models this deployment can route to
ALLOWED_MODELS=Kimi K2.7 Code,Minimax M3,Gemma 4 31B IT NVEP4
$ docker build -f dockerfile-classical .
✓ results.json + debug.json05 / Web GUI
The optional FastAPI web GUI gives people a simple place to enter a prompt, receive the answer, and see the selected category and model for that response.
Explore on Docker Hub