Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@qbiecom
Copy link
Contributor

@qbiecom qbiecom commented Jan 22, 2026

This pull request introduces support for a new provider type, openai-responses, which enables integration with OpenAI-compatible Responses APIs. This has been tested using GPT Codex models in Azure AI Foundry, as these do not support using the Chat Completions API. The existing OpenAI compatible provider was used as a base, so functionally it should be identical except for the API being used.

All code was written using Kilo Code with GPT-5.2-Codex.

image

Core provider and configuration support

  • Added openai-responses to provider lists, schemas, and validation logic in provider-settings.ts, ensuring it is recognized as a custom provider and its settings are properly validated and merged. [1] [2] [3] [4] [5]
  • Updated model, label, default model, and required fields mappings to include openai-responses in relevant constants. [1] [2] [3] [4] [5]
  • Ensured default model selection and model info logic supports openai-responses alongside other OpenAI providers. [1] [2] [3]

API handler and backend integration

  • Implemented OpenAiCompatibleResponsesHandler for the new provider, integrated it in the API handler factory, and added unit tests for its behavior and streaming fallback. [1] [2] [3] [4]

UI and settings integration

  • Added openai-responses as a selectable provider in the settings UI, ensured proper handling of its configuration fields, and updated logic for custom headers and slug mapping. [1] [2] [3] [4]
  • Updated utility functions to correctly fetch API key and base URL for openai-responses profiles. [1] [2]

Internationalization

  • Added new translation keys for "OpenAI Compatible (Responses)" provider in multiple languages to support UI updates. [1] [2] [3] [4]

@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2026

🦋 Changeset detected

Latest commit: e36f54c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
kilo-code Minor
@kilocode/cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chrarnoldus chrarnoldus self-requested a review January 22, 2026 22:46
Updated versioning for kilo-code and @kilocode/cli to minor.
@chrarnoldus
Copy link
Collaborator

Thanks @qbiecom !

@chrarnoldus chrarnoldus merged commit 5c4fc9f into Kilo-Org:main Jan 23, 2026
12 checks passed
@qbiecom
Copy link
Contributor Author

qbiecom commented Jan 23, 2026

Thanks for cleaning it up @chrarnoldus!

maywzh pushed a commit to maywzh/kilocode that referenced this pull request Jan 25, 2026
New OpenAI Compatible (Responses) Provider
maywzh pushed a commit to maywzh/kilocode that referenced this pull request Jan 25, 2026
New OpenAI Compatible (Responses) Provider
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.

2 participants