Overview:
We have created an API Service indentical with OpenAI API deployed on a server from a third-party company. The payload and response is at most identical to OpenAI but I think it differs on the headers.
Steps
On creating the OpenAI Client, we replaced the base uri with our custom API endpoint
Tried sending a chat completion streaming request to it
Overview: We have created an API Service indentical with OpenAI API deployed on a server from a third-party company. The payload and response is at most identical to OpenAI but I think it differs on the headers.
Steps
Exception
Initial Investigation:
x-request-id
or not in addition to null check. https://github.com/openai-php/client/blob/1287f569199de3bb7f64bb368b334a77077d348c/src/Responses/Meta/MetaInformation.php#L31