@openrouter/sdk 0.3.16 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +0,0 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as models from "../models/index.js";
3
- export declare class Completions extends ClientSDK {
4
- /**
5
- * Create a completion
6
- *
7
- * @remarks
8
- * Creates a completion for the provided prompt and parameters. Supports both streaming and non-streaming modes.
9
- */
10
- generate(request: models.CompletionCreateParams, options?: RequestOptions): Promise<models.CompletionResponse>;
11
- }
12
- //# sourceMappingURL=completions.d.ts.map
@@ -1,19 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: b452d35d53b4
4
- */
5
- import { completionsGenerate } from "../funcs/completionsGenerate.js";
6
- import { ClientSDK } from "../lib/sdks.js";
7
- import { unwrapAsync } from "../types/fp.js";
8
- export class Completions extends ClientSDK {
9
- /**
10
- * Create a completion
11
- *
12
- * @remarks
13
- * Creates a completion for the provided prompt and parameters. Supports both streaming and non-streaming modes.
14
- */
15
- async generate(request, options) {
16
- return unwrapAsync(completionsGenerate(this, request, options));
17
- }
18
- }
19
- //# sourceMappingURL=completions.js.map