Problem
omk doctor shows false-positive warnings when kimi CLI is configured with a custom provider (e.g. OpenAI-compatible endpoint) instead of native Moonshot auth:
- "Kimi Session — kimi login may be required"
- "Kimi Config — ~/.kimi/config.toml missing"
- "Kimi Web Tools — web search tools not detected"
These are all Moonshot-native assumptions. A valid custom config.toml makes them incorrect.
Verified Working Config
kimi CLI v1.43.0 supports custom providers via ~/.kimi/config.toml:
default_model = "kimi26"
default_thinking = true
[providers.ollama]
type = "openai_legacy"
base_url = "https://ollama.com/v1"
api_key = "your-key"
[models.kimi26]
provider = "ollama"
model = "kimi-k2.6"
max_context_size = 256000
capabilities = ["thinking", "image_in"]
Test command:
kimi --config-file ~/.kimi/config.toml --print -p 'say hi' --thinking --model kimi26
Response received: 25,308 input / 35 output tokens. No kimi login required.
Suggested Fix
omk doctor Kimi section: detect non-Moonshot providers in config, suppress login/web-tool warnings
omk provider doctor: extend beyond DeepSeek to test custom endpoint reachability
- Docs: add "Custom OpenAI-compatible provider" section
Env
- OMK v1.1.13
- kimi-cli v1.43.0
- Provider type:
openai_legacy via config.toml
- OS: macOS 26.5 / Apple Silicon
Problem
omk doctorshows false-positive warnings whenkimiCLI is configured with a custom provider (e.g. OpenAI-compatible endpoint) instead of native Moonshot auth:These are all Moonshot-native assumptions. A valid custom
config.tomlmakes them incorrect.Verified Working Config
kimi CLI v1.43.0 supports custom providers via
~/.kimi/config.toml:Test command:
Response received: 25,308 input / 35 output tokens. No
kimi loginrequired.Suggested Fix
omk doctorKimi section: detect non-Moonshot providers in config, suppress login/web-tool warningsomk provider doctor: extend beyond DeepSeek to test custom endpoint reachabilityEnv
openai_legacyviaconfig.toml