Add all the original files from the deleted 0.2.8 npm package

This commit is contained in:
daniel nakov
2025-02-26 19:31:54 -05:00
parent 8bf1bb8913
commit ca97a02201
323 changed files with 26218 additions and 2 deletions

17
vendor/sdk/resources/completions.js vendored Normal file
View File

@@ -0,0 +1,17 @@
"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Completions = void 0;
const resource_1 = require("../resource.js");
class Completions extends resource_1.APIResource {
create(body, options) {
return this._client.post('/v1/complete', {
body,
timeout: this._client._options.timeout ?? 600000,
...options,
stream: body.stream ?? false,
});
}
}
exports.Completions = Completions;
//# sourceMappingURL=completions.js.map