Skip to content

feat(oci): Enable Oracle Cloud Infrastructure configuration via UI - #17159

Merged
ishaan-jaff merged 1 commit into
BerriAI:mainfrom
CartoDB:feat/oci-textarea-private-key
Dec 5, 2025
Merged

feat(oci): Enable Oracle Cloud Infrastructure configuration via UI#17159
ishaan-jaff merged 1 commit into
BerriAI:mainfrom
CartoDB:feat/oci-textarea-private-key

Conversation

@jatorre

@jatorre jatorre commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

Title

Enable Oracle Cloud Infrastructure (OCI) configuration via UI

Pre-Submission checklist

  • I have Added testing in the tests/litellm/ directory
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests
  • My PR's scope is isolated

Type

🆕 New Feature

Changes

  • Adds textarea field type for multiline PEM key input
  • Replaces incomplete OCI config with proper auth fields (oci_user, oci_fingerprint, oci_tenancy, oci_region,
    oci_compartment_id, oci_key)
  • Handles PEM newline normalization
  • Added 8 unit tests
image

Screenshot

iTerm2 2025-11-26 22 39 20

@vercel

vercel Bot commented Nov 26, 2025

Copy link
Copy Markdown

@jatorre is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@jatorre jatorre changed the title feat(oci): Add textarea field type for OCI private key input feat(oci): Enable Oracle Cloud Infrastructure configuration via UI Nov 26, 2025
@jatorre
jatorre force-pushed the feat/oci-textarea-private-key branch 2 times, most recently from 62d6496 to 5cdf84b Compare November 26, 2025 21:35
This enables Oracle Cloud Infrastructure (OCI) GenAI authentication via the UI
by allowing users to paste their PEM private key content directly into a
multiline textarea field.

Changes:
- Add `textarea` field type to UI component system
- Configure OCI provider with proper credential fields (oci_key, oci_user,
  oci_fingerprint, oci_tenancy, oci_region, oci_compartment_id)
- Handle PEM content newline normalization (\\n -> \n, \r\n -> \n)
- Use OCIError for consistent error handling

Previously OCI only supported file-based authentication (oci_key_file), which
doesn't work for UI-based model configuration. This adds support for inline
PEM content via the new oci_key field.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@jatorre
jatorre force-pushed the feat/oci-textarea-private-key branch from 5cdf84b to d3aeaf0 Compare November 27, 2025 07:00
@jatorre

jatorre commented Nov 27, 2025

Copy link
Copy Markdown
Contributor Author

I dont think the errors are related to this PR

@ishaan-jaff ishaan-jaff left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@ishaan-jaff
ishaan-jaff merged commit 2905feb into BerriAI:main Dec 5, 2025
2 of 6 checks passed
fzowl pushed a commit to fzowl/litellm that referenced this pull request Jun 24, 2026
…#17159)

This enables Oracle Cloud Infrastructure (OCI) GenAI authentication via the UI
by allowing users to paste their PEM private key content directly into a
multiline textarea field.

Changes:
- Add `textarea` field type to UI component system
- Configure OCI provider with proper credential fields (oci_key, oci_user,
  oci_fingerprint, oci_tenancy, oci_region, oci_compartment_id)
- Handle PEM content newline normalization (\\n -> \n, \r\n -> \n)
- Use OCIError for consistent error handling

Previously OCI only supported file-based authentication (oci_key_file), which
doesn't work for UI-based model configuration. This adds support for inline
PEM content via the new oci_key field.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants