We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have same code, same sources, all same libs but on production I got error log message: No PSR-17 stream factory found. Install a package from this list: https://packagist.org/providers/psr/http-factory-implementation
This will do the problem: $ai = \OpenAI\OpenAI::client($api_key); $ai->chat()->create([...]);
//at this line is problem: $response = $this->transporter->requestObject($payload);
On local dev environment all working well. Local dev is Win11 and production Linux.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have same code, same sources, all same libs but on production I got error log message:
No PSR-17 stream factory found. Install a package from this list: https://packagist.org/providers/psr/http-factory-implementation
This will do the problem:
$ai = \OpenAI\OpenAI::client($api_key);
$ai->chat()->create([...]);
//at this line is problem:
$response = $this->transporter->requestObject($payload);
On local dev environment all working well.
Local dev is Win11 and production Linux.
The text was updated successfully, but these errors were encountered: