feat(llm): add Kilo Gateway provider support#189
Open
skulldogged wants to merge 3 commits intospacedriveapp:mainfrom
Open
feat(llm): add Kilo Gateway provider support#189skulldogged wants to merge 3 commits intospacedriveapp:mainfrom
skulldogged wants to merge 3 commits intospacedriveapp:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds first-class support for Kilo Gateway across config, routing, API provider management, model catalog mapping, and the Settings UI.
Changes
kilo_keyandKILO_API_KEYsupport in config, with automatic provider registration askilo(https://api.kilo.ai/api/gateway)channel/branch:kilo/anthropic/claude-sonnet-4.5worker/compactor/cortex:kilo/anthropic/claude-haiku-4.5kilo/...) in provider routing helpers/chat/completions(instead of/v1/chat/completions)HTTP-Referer: https://github.com/spacedriveapp/spacebotX-Title: spacebot/api/providers,/api/models)Why
Kilo is OpenAI-compatible but uses a different chat completions path shape than providers that use
/v1/chat/completions. This makes Kilo work out of the box in Spacebot with proper routing and setup support.Note
Comprehensive integration of Kilo Gateway support with 14 files modified. Changes span config handling, provider routing (with Claude Sonnet 4.5 for channels and Claude Haiku 4.5 for workers), OpenAI-compatible API support with custom headers, model discovery endpoints, and UI components. Documentation updated across quickstart, config guide, and roadmap to reflect Kilo among supported providers (now 12 total).
Written by Tembo for commit 064b922. This will update automatically on new commits.