This extension registers Oracle Code Assist as a Copilot provider, enabling you to access and use Oracle Code Assist (OCA) models directly within VS Code Copilot Chat.
Features
Integrates OCA models into Copilot Chat through a native VS Code chat provider.
Supports both OCA API styles: OpenAI-compatible Chat Completions and OpenAI Responses API.
Automatically discovers available models.
Supports two access modes: internal (Oracle employee) and external (non-Oracle employee).
Network access to Oracle identity and OCA API endpoints
An account entitled to use Oracle Code Assist
Installation and Configuration
Install the extension from the VS Code Marketplace.
Ensure GitHub Copilot Chat is installed and enabled.
Open Copilot Chat → model picker → Manage Models.
On first use, complete sign-in in your browser.
Enable models under Oracle Code Assist.
Extension Settings
This extension contributes:
ocacopilot.mode
Type: string
Allowed:
internal: Oracle employee account
external: non-Oracle employee account
Default: internal
Meaning: selects which Oracle identity and OCA endpoint configuration is used.
ocacopilot.apiStyle
Type: string
Allowed:
CHAT_COMPLETIONS – use the OpenAI‑compatible Chat Completions endpoint (/chat/completions).
RESPONSES – use the OpenAI Responses API (/responses).
Default:CHAT_COMPLETIONS
Meaning: Selects which OCA API style the extension calls.
ocacopilot.debug
Type:string
Allowed:
off – disables debugging (default)
record – records API requests and responses to a log file for later analysis
replay – replays a previously recorded request/response pair from a selected file
Default:off
Meaning:record saves each OCA request/response under .ocacopilot folder; replay uses a saved file to simulate the API call; off turns off all debugging.