Skip to content

Conversation

@matz-e
Copy link

@matz-e matz-e commented Nov 21, 2025

See also #12 that changed the first base_url in this README.

See also oracle-samples#12 that changed the first `base_url` in this README.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 21, 2025
Copy link
Contributor

@topysl topysl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change needed

client = OpenAI(
api_key="OCI",
base_url="https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/openai/v1",
base_url="https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/20231130/actions/v1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/openai/v1" is the prod url, and it's correct without version "20231130".
All env path now run without the version as the formal format.

model="<model-name>", # for example "xai.grok-4-fast-reasoning"
api_key="OCI",
base_url="https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/openai/v1",
base_url="https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/20231130/actions/v1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same above

@topysl topysl requested review from topysl and upfixer December 3, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants