mirror of
https://github.com/Onewon/claude-code.git
synced 2026-04-26 14:51:23 +03:00
Add all the original files from the deleted 0.2.8 npm package
This commit is contained in:
13
vendor/sdk/resources/completions.mjs
vendored
Normal file
13
vendor/sdk/resources/completions.mjs
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
||||
import { APIResource } from "../resource.mjs";
|
||||
export class Completions extends APIResource {
|
||||
create(body, options) {
|
||||
return this._client.post('/v1/complete', {
|
||||
body,
|
||||
timeout: this._client._options.timeout ?? 600000,
|
||||
...options,
|
||||
stream: body.stream ?? false,
|
||||
});
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=completions.mjs.map
|
||||
Reference in New Issue
Block a user