Feature 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.
Feature 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.