client icon indicating copy to clipboard operation
client copied to clipboard

⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.

Results 128 client issues
Sort by recently updated
recently updated
newest added

### What: - [ ] Bug Fix - [x] New Feature ### Description: Adds ability to resume a background stream from a response id and cursor: ```php $stream = OpenAI::responses()->retrieveStreamed($rid,...

… array key "choices" /www/htdocs/vendor/openai-php/client/src/Responses/Chat/CreateResponse.php 54 Change-Id: Ibbf64cc554ef68844fd8338583f3fc8ec5fde413 ### What: - [ ] Bug Fix ### Description: ### Related: Fix issue #692

- Update FunctionToolCallOutput to accept string|array for output parameter - This enables returning structured file/image references from function calls - Aligns with OpenAI's recent API update for file outputs in...

### Description While testing gemini I noticed that passing invalid chat parameters doesn't throw the appropriate exception. It throws: `Undefined array key "choices" /www/htdocs/vendor/openai-php/client/src/Responses/Chat/CreateResponse.php 54` The reason the error isn't...

bug

Provide default image reponse usage values, if they are not returned by the API (e.g. for LiteLLM) ### What: - [X] Bug Fix - [ ] New Feature ### Description:...

### Description When calling `Files::retrieve($fileId)` via the PHP SDK, intermittent 503 responses from the API edge (HTML “503 Service Temporarily Unavailable” from OpenAI's nginx) cause the transporter to attempt `json_decode()`...

bug

data: {"code":0,"message":"Success","sid":"cha000b2c02@dx198a6451bd69a4b532","id":"cha000b2c02@dx198a6451bd69a4b532","created":1755136204,"choices":[{"delta":{"role":"assistant","content":"hello"},"index":0}]} https://github.com/openai-php/client/commit/127635870cfec1aae681d513d4e3fb6195332b2e Can it be merged into the project?

Non-OpenAI Model

### Description Another error with using the client to interact with Gemini - once again, Google doesn't provide a field (id) that the client expects to be present in the...

bug
Non-OpenAI Model