You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(kenari): add Kenari as a first-class provider (#793)
* feat(kenari): add Kenari as a first-class provider
* test(kenari): cover provider registration arms and stream branches
* test(kenari): flip remaining partial branches, drop dead reasoning fallback
* refactor(kenari): address review feedback
- Reuse the shared extractReasoningFromDelta helper in the stream handler
instead of a hand-rolled reasoning_content cast, matching opencode-go;
this also adds the OpenRouter-style `reasoning` fallback. New handler
test covers the fallback path.
- Fetcher spec: assert the surviving entry's contextWindow in the
skip-invalid test so a field-mapping regression in that branch is
caught, and add a parseKenariModel test that locks the
context_window/max_output_tokens precedence over their aliases.
- Hoist KENARI_BASE_URL into @roo-code/types so the handler baseURL and
the fetcher endpoint share one source of truth.
0 commit comments