litellm/tests/test_litellm/llms/oci
Federico Kamelhar 0647074846 feat(oci): add embeddings, fix streaming/reasoning, expand model catalog
- Add OCIEmbedConfig with full Cohere embed support (7 models, batch up to 96)
- Fix sync streaming: split SSE events on \n\n before JSON parsing
- Fix reasoning models (Gemini 2.5, xAI Grok): make completionTokens and message
  optional in OCIResponseChoice to handle max_tokens exhausted on reasoning
- Fix compartment_id resolution in chat transform to use resolve_oci_credentials
- Fix tool call id: make OCIToolCall.id optional, generate UUID fallback for
  providers (Google via OCI) that omit it
- Add OCI_KEY env var support for inline PEM keys
- Fix datetime.utcnow() deprecation in request signing
- Expand model catalog: 29 OCI models including Llama 4, Gemini 2.5, xAI Grok,
  Cohere Command A, and all Cohere embed variants
- Add 37 live integration tests: sync/async completions for Meta/Google/xAI/Cohere,
  sync/async embeddings, tool use across all vendors, streaming, env var auth
- Add 23 embed unit tests covering all transform and validation paths
2026-05-18 17:43:28 -04:00
..
chat style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
embed feat(oci): add embeddings, fix streaming/reasoning, expand model catalog 2026-05-18 17:43:28 -04:00
rerank feat(oci): add embeddings, fix streaming/reasoning, expand model catalog 2026-05-18 17:43:28 -04:00
test_oci_integration.py feat(oci): add embeddings, fix streaming/reasoning, expand model catalog 2026-05-18 17:43:28 -04:00