commit
This commit is contained in:
parent
c997a4f034
commit
4afa276479
26 changed files with 1437 additions and 204 deletions
4
node_modules/openai/dist/common.js
generated
vendored
4
node_modules/openai/dist/common.js
generated
vendored
|
@ -5,7 +5,7 @@
|
|||
* OpenAI API
|
||||
* APIs for sampling from and fine-tuning language models
|
||||
*
|
||||
* The version of the OpenAPI document: 1.1.0
|
||||
* The version of the OpenAPI document: 1.2.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
@ -91,6 +91,8 @@ exports.setOAuthToObject = function (object, name, scopes, configuration) {
|
|||
});
|
||||
};
|
||||
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
||||
if (parameter == null)
|
||||
return;
|
||||
if (typeof parameter === "object") {
|
||||
if (Array.isArray(parameter)) {
|
||||
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue