Comments (3)
This problem happens with any package when dealing with incorrect api keys so not really a bug but there could probably be a better error message.
This is probably an easy change so maybe open a PR to map the error to something more meaningful?
from client.
The error is provided by OpenAI so it's not possible to change the error on the library side.
But feel free to submit a PR which trims the API key automatically.
from client.
closed: #101
from client.
Related Issues (20)
- HBushIA
- [Bug]: Error handling for RetrieveJobResponse::from() HOT 1
- [Bug]: Undefined array key "code" $client->fineTuning()->listJobs() HOT 2
- [Bug]: Undefined array key "usage" with Vision endpoint on Azure HOT 2
- [Bug]: Uncaught JsonException
- [Bug]: Cannot fake the response of "OpenAI\Responses\Images\CreateResponse" passed to OpenAI::fake to return data with "b64_json" HOT 1
- [Bug]: /vendor/openai-php/client/src/Transporters/HttpTransporter.php(61): json_decode()
- [Bug]: Wrong type RetrieveJobResponseError constructor
- [Support]: How to modify to adapt a locally-deployed OpenAI API compatible embedding service?
- [Bug]: GPT-3 Model Being Used Despite Specifying GPT-4 in Client Request HOT 1
- Azure Chat with Custom Data problem HOT 1
- [Bug]: ThreadRunResponse missing step_details information HOT 1
- [Bug]: getErrorCode(): Return value must be of type ?string, int returned HOT 1
- [Bug]: all runs result with failure code: "server_error", message: "Sorry, something went wrong." HOT 1
- 提问我该如何结束发起的http请求呢
- Constant HTTP 500 Server errors HOT 2
- [Enhancement] streaming support for assistant api HOT 6
- [Bug]: Images (Dall-e 3) method not working with Azure HOT 1
- How to set the frequency_penalty? HOT 1
- [Bug]: Warning: Undefined array key "code" in Responses/FineTuning/RetrieveJobResponseError.php on line 42 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client.