Closed ZhangKoven closed 7 months ago
Hi @ZhangKoven
I am not able to reproduce the problem.
If the problem still persist, could you please provide your composer.json file?
"openai-php/client":"0.8.0" when i run composer openai-php/client update _[root@localhost Wuliangshen-2C-Api-Hyperf]# composer update openai-php/client Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions._ "openai-php/client":"^0.8.0" when i run composer openai-php/client update [root@localhost Wuliangshen-2C-Api-Hyperf]# composer update openai-php/client Loading composer repositories with package information Updating dependencies Lock file operations: 0 installs, 1 update, 0 removals
this is my composer.json composer.json
I've used your composer.json file and it installed the correct version:
Installing openai-php/client (v0.8.0): Extracting archive
Unbelievable,let me try anain on my test server
i try it on my test server,it run success. but my vmware still run error
emmm, this question is my mistake. my composer source is aliyun i forgot it now, my vmware run success.
Description
when i need to update openai-php/client to version 0.8.0,composer give me an error Root composer.json requires openai-php/client 0.8.0, found openai-php/client[dev-fix-fine-tuning-job-response-hyperparameters-nEpochs-can-be-string, ..., dev-add-assistant-api, v0.1.0, ..., 0.8.x-dev] but it does not match the constraint.
Steps To Reproduce
composer.json i set version 0.8.0 when i set version ^0.8.0,it run success.but the version is 0.8.0.beta.3
OpenAI PHP Client Version
v0.8.0
PHP Version
8.1.17
Notes
No response