@absolutejs/ai 0.2.9 → 0.2.11

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.
@@ -18,7 +18,9 @@ export type AIInputCapacity = {
18
18
  };
19
19
  export declare class AIInputError extends Error {
20
20
  readonly code: "capacity_unavailable" | "input_too_large" | "unsupported_content";
21
- constructor(code: "capacity_unavailable" | "input_too_large" | "unsupported_content", message: string);
21
+ readonly providerStatus?: number | undefined;
22
+ readonly requestId?: string | undefined;
23
+ constructor(code: "capacity_unavailable" | "input_too_large" | "unsupported_content", message: string, providerStatus?: number | undefined, requestId?: string | undefined);
22
24
  }
23
25
  export declare const positiveTokenLimit: (value: unknown) => number;
24
26
  export declare const inputTokenCount: (value: unknown) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/ai",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "homepage": "https://github.com/absolutejs/ai",
5
5
  "bugs": {
6
6
  "url": "https://github.com/absolutejs/ai/issues"