Skip to content

[Bug]: Rate Limits not being returned #288

@s2-ieuan

Description

@s2-ieuan

Description

The response metadata rate limit info is empty, trying to access $response->meta()->requestLimit->limit; returns an error reading limit as requestLimit does not exist. Calling $response->meta()->toArray() also does not show these headers

Steps To Reproduce

Trigger an image generation request, the rate limit stays empty

OpenAI PHP Client Version

0.8.0

PHP Version

8.3.0

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions