Skip to content

feat(gateway): add NeuralWatt as an OpenAI-compatible provider#1994

Open
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
feat/add-neuralwatt-provider
Open

feat(gateway): add NeuralWatt as an OpenAI-compatible provider#1994
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
feat/add-neuralwatt-provider

Conversation

@kilo-code-bot
Copy link
Copy Markdown
Contributor

@kilo-code-bot kilo-code-bot bot commented Apr 3, 2026

Summary

Add NeuralWatt as a new OpenAI-compatible provider to the Kilo gateway. NeuralWatt uses the standard OpenAI chat completions API format, so it requires no custom request transformations. Changes:

  • Added 'neuralwatt' to the ProviderId union type
  • Added NEURALWATT provider definition with base URL https://api.neuralwatt.com/v1, NEURALWATT_API_KEY env var, and chat_completions support

Verification

  • Verified changes follow the exact pattern used by other simple OpenAI-compatible providers (e.g., Morph)
  • provider-definitions.ts uses as const satisfies Record<string, Provider> which ensures type correctness at compile time
  • Confirmed 'neuralwatt' is added to the ProviderId union, matching the id in the provider definition

Visual Changes

N/A

Reviewer Notes

  • The NEURALWATT_API_KEY environment variable will need to be set in deployment environments before routing traffic to this provider.
  • NeuralWatt returns an extra energy field in responses which the gateway will harmlessly ignore.
  • No free models are defined yet — this PR only registers the provider in the gateway. Free models can be added separately by creating a neuralwatt.ts model definition file and adding it to kiloFreeModels.

Built for Joshua Lambert by Kilo for Slack

@kilo-code-bot
Copy link
Copy Markdown
Contributor Author

kilo-code-bot bot commented Apr 3, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • src/lib/providers/provider-definitions.ts
  • src/lib/providers/types.ts

Reviewed by gpt-5.4-20260305 · 427,821 tokens

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.

0 participants