Skip to content

feat: Integrate Kilo gateway#13863

Open
micuintus wants to merge 2 commits intoanomalyco:devfrom
micuintus:feature/Integrate_Kilo_Gateway
Open

feat: Integrate Kilo gateway#13863
micuintus wants to merge 2 commits intoanomalyco:devfrom
micuintus:feature/Integrate_Kilo_Gateway

Conversation

@micuintus
Copy link

@micuintus micuintus commented Feb 16, 2026

What does this PR do?

Integrate the Kilo Gateway package from https://github.com/Kilo-Org/kilo/tree/dev/packages/kilo-gateway into openCode.

Why do that? Allow using the free GLM 5 tier.

Can we do that?

see #5709

Screenshot 2026-02-16 at 17 05 17

Do we want that?

--> I do, but eventually you have to decide

My approach

  1. Pull in Kilo as a depency
  2. Have GLM-5 help me integrate it

How did you verify your code works?

Use it with my changes :)

Closes #13767

Michael Voigt added 2 commits February 16, 2026 16:08
Import kilo-gateway package from Kilo-Org/kilo repository.
Original package: @kilocode/kilo-gateway v1.0.21

https://github.com/Kilo-Org/kilo/tree/dev/packages/kilo-gateway
* Rename package from @kilocode/kilo-gateway to @opencode-ai/kilo-gateway
* Update dependencies to use @opencode-ai/* packages
* Add URL normalization for Kilo API paths
* Inject kilo provider in ModelsDev.get()
* Register KiloAuthPlugin in INTERNAL_PLUGINS
* Add createKilo to BUNDLED_PROVIDERS
* Add kilo custom loader with auth support
@github-actions
Copy link
Contributor

Hey! Your PR title Integrate Kilo gateway doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

I found potentially related PRs:

  1. feat: add Kilo as a native provider (PR feat: add Kilo as a native provider #13765)

  2. feat: api.kilo.ai/api support (PR feat: api.kilo.ai/api support #5709)

  3. docs: add opencode-kilo-auth plugin to ecosystem (PR docs: add opencode-kilo-auth plugin to ecosystem #13826)

  4. docs: add openkilo to ecosystem (PR docs: add openkilo to ecosystem #13531)

Most likely duplicate: PR #13765 (feat: add Kilo as a native provider) appears to be addressing the same feature - integrating Kilo functionality into openCode. You may want to check if this PR already covers the gateway integration or if they're complementary approaches.

@micuintus micuintus changed the title Integrate Kilo gateway feat(Kilo gateway): Integrate Kilo gateway Feb 16, 2026
@micuintus micuintus changed the title feat(Kilo gateway): Integrate Kilo gateway feat: Integrate Kilo gateway Feb 16, 2026
@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@micuintus
Copy link
Author

Just saw these

#13826
#13531

PRs. I assume this may be the preferred / more idiomatic approach?

If so @rekram1-node / @thdxr or whoever is responsible: Please simply close the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Add Kilo as a native provider

1 participant