Skip to content

[FEATURE]: Native Oracle OCI Generative AI provider support #29622

@kineticquant

Description

@kineticquant

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Requesting to add access to OCI models. OCI offers models by region and is OpenAI-compatible, connecting to
inference.generativeai.{region}.oci.oraclecloud.com (ex: https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/openai/v1).

There is a current pain point when trying to use the custom adapter that prevents usage there, resulting in max_tokens vs max_completion_tokens incompatibility with the current @ai-sdk/openai-compatible adapter.
The error: "Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead."

Appears to happen with any model on OCI, so requesting as feature to add OCI as a provider instead.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions