openai-php / client

⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
MIT License
4.98k stars 519 forks source link

[Bug]: Repo files not matching zip or what is in composer #461

Closed ericthornton88 closed 1 week ago

ericthornton88 commented 3 months ago

Description

I have been trying to utilize project in the factory class so I can access different assistants. However, the code in the Github repo does not match the zip code or the code that downloads with composer require.

Steps To Reproduce

OpenAI PHP Client Version

v0.10.1

PHP Version

8.2

Notes

No response

iBotPeaches commented 2 weeks ago

If you look at your first link you are looking at branch main, your 2nd link is download of tag v0.10.1. When I look at the v0.10.1 source for your zip - I don't see any project property.

https://github.com/openai-php/client/blob/v0.10.1/src/Factory.php

You seem to be comparing two different points in history so they won't line up.