19 views
-/https://github.com/berriai/litellm/issues/18166
GitHub · issue

#18166 [Bug]: litellm not support oci gemini models

  • State: open
  • Author: @syw2014
  • Labels: bug, proxy, llm translation, docs

### What happened?

I had config oci gemini models, and when request to http://ip:4000/v1, errors bellow

01:59:53 - LiteLLM Proxy:ERROR: common_request_processing.py:765 - litellm.proxy.proxy_server._handle_llm_api_exception(): Exception occured - litellm.APIConnectionError: OciException - { "code": "400", "message": "Please pass in correct format of request." }. Received Model Group=oci-gemini-2.5-pro litellm-1 | Available Model Group Fallbacks=None LiteLLM Retried: 1 times, LiteLLM Max Retries: 2 litellm-1 | Traceback (most recent call last): litellm-1 | File "/usr/lib/python3.13/site-packages/litellm/llms/oci/chat/transformation.py", line 1046, in get_async_custom_stream_wrapper litellm-1 | response = await client.post( litellm-1 | ^^^^^^^^^^^^^^^^^^ litellm-1 | ...<6 lines>... litellm-1 | ) litellm-1 | ^ litellm-1 | File "/usr/lib/python3.13/site-packages/litellm/litellm_core_utils/logging_utils.py", line 190, in async_wrapper litellm-1 | result = await func(*args, **kwargs) litellm-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ litellm-1 | File "/usr/lib/python3.13/site-packages/litellm/llms/custom_httpx/http_handler.py", line 450, in post litellm-1 | raise e litellm-1 | File "/usr/lib/pyth…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h51m53s ago — entered · #import:https:::github.com:berriai:litellm post #2992
The left issue requires broader provider-integration work across request/response translation, authentication, streaming behavior, compatibility testing, and documentation. The right issue is more likely localized to database transaction handling and targeted diagnostics, with a narrower change surface.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search