-
-
Notifications
You must be signed in to change notification settings - Fork 607
Comparing changes
Open a pull request
base repository: openai-php/client
base: v0.12.0
head repository: openai-php/client
compare: main
- 12 commits
- 129 files changed
- 8 contributors
Commits on May 4, 2025
-
docs: Corrected readme for current PHP version requirement (#575)
* Corrected readme for current PHP version requirement * Update link to canonical version
Configuration menu - View commit details
-
Copy full SHA for 3356a26 - Browse repository at this point
Copy the full SHA 3356a26View commit details
Commits on May 7, 2025
-
fix(test): Add Throwable type to ClientFake response annotations (#576)
* Add Throwable type to ClientFake response annotations * Remove redundant "composer refactor" command from CONTRIBUTING.md * Add missing status code in the README.md Testing section
Configuration menu - View commit details
-
Copy full SHA for 2241ae0 - Browse repository at this point
Copy the full SHA 2241ae0View commit details
Commits on May 14, 2025
-
Add support for Responses API (#541)
* Add support for Responses API Full support to the new Responses API https://platform.openai.com/docs/api-reference/responses * Updated miss placed files that occurred during first upload * Heavy refactoring to match codebase pattern, added testing files * fixed some phpstan errors * fixing minor bugs after live testing now all models work during live testing * Fixed lint errors * Fixed all PHPStan Errors and all other tests Pass 100% * Completed missing Tests, Created ClientFakeResponses, Modified Fakeable I had to modify OpenAI\Testing\Responses\Concerns\Fakeable as $class = str_replace('Responses\\', 'Testing\\Responses\\Fixtures\\', static::class).'Fixture'; was conflicting with newly added Responses folder and added docblock explaining the modification and tested against all files. Updated readme can be found at README-RESPONSES.md Added dedicated ClientFake for Responses tests/Testing/ClientFakeResponses.php * Updated Test files, Fixed Lint errors, all tests pass except test:unit * chore: remove log file * chore: pint * chore: inline Responses doc to readme * chore: align client contract to pattern * docs: re-order chat/completion * fix: use longer replacement to not clobber Responses/* * fix: parse metadata (optionally) * test: don't assert on plain arrays * test: assert stream properly on responses * chore: add missing docblock property * fix: add metadata into Responses payload * test: fix double nesting on delete attrs * test: correct bad assertions on tests * fix: remove ResponseObject * feat: split out usage into classes * feat: split out error into classes * feat: split out incomplete_details into classes * chore(wip): introduction of 'output' typing * fix: correct OutputMessageContentOutputText + child classes * OutputMessage * chore: continued work on output message * chore: start of ComputerToolActions * feat: complete "computer tool call" * fix: add response contract to existing classes * fix: more fixes to typing on CreateResponse * feat: add 'reasoning' prop for response * feat: add 'text' (format) to create * feat: add 'tool_choice' * fix: add 'truncation' * feat: add tool: FileSearch response * feat: add tool: FunctionTool response * feat: add tool 'ComputerUse' * fix: wire up 'tools' to CreateResponse * Added InputMessage types, refactored ListInputItems - Added Classes related to InputMessage types - refactored ListInputItems to reflect the newly added classes * Corrected some properties to use camelCase * fix: cleanup docblock on CreateResponse * chore: remove unused test response object * chore: remove extra newline * fix: 'role' is always 'assistant' * test: augment tests with single click * chore: add missing int for computer single click * test: progression towards 100% coverage on create response * test: assertion on OutputFileSearchToolCall * chore: ints for x/y on click event * fix: further cleanup on CreateResponse * feat: add computer tool call output * feat: add function tool call output * fix: city, region and timezone can return null * fix: json_schema description can be missing * Lint Test Pass, Fixed Array map at ListInputItems * chore: rework text format typing on create response * feat: rework into phpstan-types * fix: work on ListInputItems for phpstan-types * fix: wire up RetrieveResponse * fix: migrate to phpstan-type for delete * fix: wip towards stream responses * chore: add typing props for delete * test: correct tests for retrieve response * fix: add outputItem types for streaming * fix: contentPart/textDelta/textAnnotation added * fix: outputrefusal*/outputText wired up * chore: rename Refusal types * feat: finish typing for streaming * Wired all classes under Responses/Input * chore: type ListInputItems * fix: finalize ListInputItems * test: ListInputItem tests * test: stream testing * fix: shove mock meta object into stream * test: correct streaming tests * chore: use local type * docs: cleanup readme * chore: align constructors * fix: mark 'status' as optional in reasoning * fix: add encrypted_content to reasoning * fix: file search filters can be null --------- Co-authored-by: Connor Tumbleson <connor@sourcetoad.com> Co-authored-by: Connor Tumbleson <connor.tumbleson@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 27f9329 - Browse repository at this point
Copy the full SHA 27f9329View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3992298 - Browse repository at this point
Copy the full SHA 3992298View commit details
Commits on May 19, 2025
-
feat(OpenAI) - Add helper property 'output_text' to Responses API (#579)
* feat: support 'output_text' on Responses API * fix: support null on 'output_text'
Configuration menu - View commit details
-
Copy full SHA for a0cc3d6 - Browse repository at this point
Copy the full SHA a0cc3d6View commit details
Commits on May 22, 2025
-
fix(OpenAI) - Add index to CreateStreamedResponseToolCall (#562)
* Update CreateStreamedResponseToolCall.php * provide index to CreateStreamedResponseToolCall toArray method * fix type coverage in CreateStreamedResponseToolCall toArray method
Configuration menu - View commit details
-
Copy full SHA for 199d237 - Browse repository at this point
Copy the full SHA 199d237View commit details
Commits on May 28, 2025
-
fix(OpenAI): $parameters array is not required in thread 'create' met…
…hod (#577) * feat: $parameters array is not required in thread 'create' method * fix: default to empty array on params * test: assert no params needed on thread.create --------- Co-authored-by: Connor Tumbleson <connor@sourcetoad.com>
Configuration menu - View commit details
-
Copy full SHA for 68fd99c - Browse repository at this point
Copy the full SHA 68fd99cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59e27ca - Browse repository at this point
Copy the full SHA 59e27caView commit details
Commits on Jun 2, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 0e66f10 - Browse repository at this point
Copy the full SHA 0e66f10View commit details
Commits on Jun 3, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 4f95624 - Browse repository at this point
Copy the full SHA 4f95624View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69037e9 - Browse repository at this point
Copy the full SHA 69037e9View commit details
Commits on Jun 8, 2025
-
feat(OpenAI): Realtime Ephermal Tokens (#591)
* feat: initial work on realtime tokens * feat: more work on realtime tokens * fix: add realtime class to client * fix: threshold is float, not int * fix: modalities can be null on transcribe * feat: test build out for realtime * chore: correct docblock * test: integration tests for realtime
Configuration menu - View commit details
-
Copy full SHA for a2cc4eb - Browse repository at this point
Copy the full SHA a2cc4ebView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.12.0...main