Skip to content

Oca responses: This is the version where we extend OpenAI Native - #8

Open
ChaiEranki wants to merge 14 commits into
main-base-responsesfrom
oca-responses-inherited-updated
Open

Oca responses: This is the version where we extend OpenAI Native#8
ChaiEranki wants to merge 14 commits into
main-base-responsesfrom
oca-responses-inherited-updated

Conversation

@ChaiEranki

@ChaiEranki ChaiEranki commented Dec 19, 2025

Copy link
Copy Markdown
Owner

Description

This PR adds Responses API support for the OCA provider. To do this, we changed the following:

  • We inherited from openai-native, which is another provider that handles input in a similar way that oca does and supports responsesAPI
  • We added 4 new variables to the OcaModelInfo storing reasoning effort information and also responses API vs chat completions API support -> supports_chat_api, supports_responses_api, supports_reasoning, reasoning_effort_options
  • We added an overall parameter to store the selected reasoningEffort parameter and propagate it -> ocaReasoningEffort
  • A reasoning effort selection dropdown was added under the model selection dropdown only for the OCA provider
  • Added Oracle Code Assist to nextGenModelProvider list so that it uses GPT 5 specific prompts

Test Procedure

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • ♻️ Refactor Changes
  • 💅 Cosmetic Changes
  • 📚 Documentation update
  • 🏃 Workflow Changes

Pre-flight Checklist

  • Changes are limited to a single feature, bugfix or chore (split larger changes into separate PRs)
  • Tests are passing (npm test) and code is formatted and linted (npm run format && npm run lint)
  • I have created a changeset using npm run changeset (required for user-facing changes)
  • I have reviewed contributor guidelines

Screenshots

Additional Notes

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.

1 participant