Skip to content

fix(closes OPEN-9306): oCI tracer issue serializing GenericChatResponse#608

Merged
viniciusdsmello merged 1 commit intomainfrom
cid/oci-bugfix
Mar 5, 2026
Merged

fix(closes OPEN-9306): oCI tracer issue serializing GenericChatResponse#608
viniciusdsmello merged 1 commit intomainfrom
cid/oci-bugfix

Conversation

@gustavocidornelas
Copy link
Contributor

@gustavocidornelas gustavocidornelas commented Mar 5, 2026

Pull Request

Summary

Fixes serialization issue of raw output from OCI Generative AI calls. Previously, the tracer was not serializing GenericChatResponse objects properly, resulting in the error:

Error: Object of type GenericChatResponse is not JSON serializable

Changes

  • Serialize GenericChatResponse from the raw output of OCI Generative AI calls.
  • Updates the Jupyter notebook example for OCI.

Context

OPEN-9306: OCI tracer issue serializing GenericChatResponse

Testing

  • Manual testing

@viniciusdsmello viniciusdsmello merged commit 9e60b94 into main Mar 5, 2026
5 checks passed
@viniciusdsmello viniciusdsmello deleted the cid/oci-bugfix branch March 5, 2026 15:07
@stainless-app stainless-app bot mentioned this pull request Mar 5, 2026
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