GoModel calls Oracle Generative AI through Oracle’s OpenAI-compatible inference endpoint. Setup needs an OCI IAM policy forDocumentation Index
Fetch the complete documentation index at: https://gomodel.enterpilot.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
generativeaiapikey, a
region-specific base URL, and a configured model list (Oracle’s /models is
not reliably available on the API-key flow).
1. Add the OCI policy
2. Configure
ORACLE_MODELS is a comma-separated list (whitespace trimmed). Behavior
follows the global CONFIGURED_PROVIDER_MODELS_MODE — fallback (default)
uses the list when Oracle’s /models is unavailable or empty; allowlist
exposes only configured models and skips the upstream call.
Or in config.yaml:
ORACLE_MODELS overrides YAML models: for the matching
provider.
3. Run GoModel
4. Verify
GET /v1/models returns models such as openai.gpt-oss-120b with
owned_by: "oracle". Responses API works the same way.
Use a high enough
max_tokens budget. Some Oracle-backed reasoning models
can spend short completions on reasoning content before emitting final
assistant text.Multiple Oracle providers
Use suffixed env vars to register a second Oracle instance:oracle-us. Reach for YAML only when generated names
don’t fit or you want per-provider resilience overrides.
Not yet integrated
- Native OCI-based model auto-discovery (would remove the need for
ORACLE_MODELS/ YAMLmodels:). - Reliable use of Oracle’s OpenAI-compatible
/modelsendpoint on the API-key flow.
Troubleshooting
404 Authorization failed or requested resource not found— missing OCI policy, wrong region, or model not available to the account.model registry has no models— setORACLE_MODELSor YAMLmodels:.- OCI CLI works but Oracle bearer requests fail — different auth flows. OCI CLI uses API signing keys; Oracle Generative AI inference uses the Generative AI bearer API key.