feat: add OpenRouter support with catalog-driven model resolution and cost-based routing#109
feat: add OpenRouter support with catalog-driven model resolution and cost-based routing#109samueltuyizere wants to merge 25 commits into
Conversation
…nfiguration options
…nd add corresponding tests
…rresponding tests
…ponding UI updates and tests
Code Review Roast 🔥Verdict: No Issues Found | Recommendation: Merge This incremental update is actually clean. I had my flamethrower warmed up and everything, but the previously-flagged "config theater" issue got fixed:
🏆 Best part: The fixes are surgical — exactly the minimal changes needed to address each problem. No cargo-culting or over-engineering. 📊 Overall: Like finding a pancake that's actually round — the shape is right and the ingredients are there. Files Reviewed (1 file)
Previous Review Summaries (5 snapshots, latest commit ce637b4)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit ce637b4)Verdict: No Issues Found | Recommendation: Merge This incremental update is actually clean. I had my flamethrower warmed up and everything, but the previously-flagged "config theater" issue got fixed:
🏆 Best part: The fixes are surgical — exactly the minimal changes needed to address each problem. No cargo-culting or over-engineering. 📊 Overall: Like finding a pancake that's actually round — the shape is right and the ingredients are there. Files Reviewed (1 file)
Previous review (commit e625f50)Verdict: No Issues Found | Recommendation: Merge Oh wait, this incremental update is actually clean. I had my flamethrower warmed up and everything, but both previously-flagged bugs got fixed:
🏆 Best part: The fixes are surgical — exactly the minimal changes needed to address each problem. No cargo-culting or over-engineering. �💀 Worst part: The cache invalidation issue in 📊 Overall: Like finding a pancake that's actually round — the shape is right and the ingredients are there. Files Reviewed (1 file)
Previous review (commit b642ab9)Verdict: No Issues Found | Recommendation: Merge Oh wait, this incremental update is actually clean. I had my flamethrower warmed up and everything, but both previously-flagged bugs got fixed:
🏆 Best part: The fixes are surgical — exactly the minimal changes needed to address each problem. No cargo-culting or over-engineering. �💀 Worst part: The cache invalidation issue in 📊 Overall: Like finding a pancake that's actually round — the shape is right and the ingredients are there. Files Reviewed (1 file)
Previous review (commit e178a78)Verdict: 4 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
🏆 Best part: The test coverage is surprisingly thorough — someone clearly believed in testing before shipping 37 files of new code. 💀 Worst part: The catalog sync will silently delete your model cache when the index write fails. Nothing says "I care about your data" like an error handler that deletes the good file. 📊 Overall: Like a house with a nice paint job and a termite-infested foundation. Looks great from the street, but one rainy day and you're sleeping in the yard. Files Reviewed (37 files)
Fix these issues in Kilo Cloud Previous review (commit 4640470)Verdict: 4 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
🏆 Best part: The test coverage is surprisingly thorough — someone clearly believed in testing before shipping 37 files of new code. 💀 Worst part: The catalog sync will silently delete your model cache when the index write fails. Nothing says "I care about your data" like an error handler that deletes the good file. 📊 Overall: Like a house with a nice paint job and a termite-infested foundation. Looks great from the street, but one rainy day and you're sleeping in the yard. Files Reviewed (37 files)
Reviewed by step-3.7-flash-20260528 · Input: 139.4K · Output: 21.7K · Cached: 326K |
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com> Signed-off-by: TUYIZERE Samuel <tuyizeres0@gmail.com>
… and preferred provider logic
This PR adds OpenRouter provider support, a local model catalog system, and cost-based routing to routatic-proxy.
What's new
OpenRouter Provider (ba0045c, 1b50001)
Model Catalog System (bdc792f → 56ed94c)
Catalog-Based Model Resolution (bfa3e81, 032c1dd, b6ef72e, 0411bc4)
Cost-Based Routing (b6ecfdf, 3754f07, 4640470)
GUI Updates (56ed94c)