Connor Tumbleson
Connor Tumbleson
https://github.com/iBotPeaches/openai-php-laravel-test/commit/cab73a3d163114858bb03ee0aafb575af1ef2337 ``` ➜ openai-test git:(master) ✗ php artisan app:chat-image-test OpenAI\Responses\Chat\CreateResponse {#663 +id: "chatcmpl-C6wYwcMvIXKjm1o3DwCSy2Ji1AHpd" +object: "chat.completion" +created: 1755771118 +model: "gpt-4o-2024-08-06" +systemFingerprint: "fp_80956533cb" +choices: array:1 [ 0 => OpenAI\Responses\Chat\CreateResponseChoice {#659 +index: 0...
Not going to move forward with this. It makes our typing a mess with unknown - the crux of the issue is not having the source payload available to exceptions...
Our jar parsing is probably very weak if non-source elements are packed within. Do you have a sample I can work from?
I will enjoy this cat n mouse game we play :)
This was fixed already in this PR and released in v0.13 - https://github.com/openai-php/client/pull/560 Closing.
The tool IS called "Sigh" - https://github.com/fastlane/fastlane/tree/master/sigh 
You'll want to peek the corresponding Chat class - https://github.com/openai-php/client/blob/main/src/Responses/Chat/CreateResponse.php in the main client repo. This is just the Laravel wrapper. Add changes to the docblocks, parsers, handlers and tests...
I migrated this issue to the client repo. As it seems you want to add support for `web_search_options` for Chat Completion, which would be done in this repo.
Ah I was wrong. Its probably to support all the citation metadata returned: https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat#output-and-citations
``` Error: Missing class com.google.j2objc.annotations.RetainedWith (referenced from: com.google.common.collect.ImmutableList com.google.common.collect.ImmutableSet$CachingAsList.asList) Missing class com.google.j2objc.annotations.Weak (referenced from: java.util.Map com.google.common.collect.Maps$KeySet.map and 1 other context) Compilation failed Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed...