llm-large-files 0.8.2 → 0.10.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.
- package/CHANGELOG.md +981 -0
- package/README.md +22 -17
- package/dist/access.d.ts +128 -0
- package/dist/access.d.ts.map +1 -0
- package/dist/access.js +234 -0
- package/dist/access.js.map +1 -0
- package/dist/aggregate.d.ts +6 -0
- package/dist/aggregate.d.ts.map +1 -1
- package/dist/aggregate.js +86 -13
- package/dist/aggregate.js.map +1 -1
- package/dist/analyze.d.ts +4 -0
- package/dist/analyze.d.ts.map +1 -1
- package/dist/analyze.js +2 -2
- package/dist/analyze.js.map +1 -1
- package/dist/answer-info.d.ts +26 -0
- package/dist/answer-info.d.ts.map +1 -0
- package/dist/answer-info.js +32 -0
- package/dist/answer-info.js.map +1 -0
- package/dist/anthropic/adapter.d.ts +5 -1
- package/dist/anthropic/adapter.d.ts.map +1 -1
- package/dist/anthropic/adapter.js +35 -10
- package/dist/anthropic/adapter.js.map +1 -1
- package/dist/ask.d.ts +159 -14
- package/dist/ask.d.ts.map +1 -1
- package/dist/ask.js +743 -113
- package/dist/ask.js.map +1 -1
- package/dist/cache.d.ts +12 -3
- package/dist/cache.d.ts.map +1 -1
- package/dist/cache.js +18 -5
- package/dist/cache.js.map +1 -1
- package/dist/citations.d.ts +36 -0
- package/dist/citations.d.ts.map +1 -0
- package/dist/citations.js +291 -0
- package/dist/citations.js.map +1 -0
- package/dist/encoding.js +5 -3
- package/dist/encoding.js.map +1 -1
- package/dist/error-info.d.ts +70 -0
- package/dist/error-info.d.ts.map +1 -0
- package/dist/error-info.js +253 -0
- package/dist/error-info.js.map +1 -0
- package/dist/errors.d.ts +74 -8
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +104 -15
- package/dist/errors.js.map +1 -1
- package/dist/events.d.ts +57 -13
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +42 -11
- package/dist/events.js.map +1 -1
- package/dist/evidence.d.ts +4 -2
- package/dist/evidence.d.ts.map +1 -1
- package/dist/evidence.js +35 -5
- package/dist/evidence.js.map +1 -1
- package/dist/extract.d.ts +32 -8
- package/dist/extract.d.ts.map +1 -1
- package/dist/extract.js +52 -36
- package/dist/extract.js.map +1 -1
- package/dist/gemini/adapter.d.ts +54 -7
- package/dist/gemini/adapter.d.ts.map +1 -1
- package/dist/gemini/adapter.js +152 -41
- package/dist/gemini/adapter.js.map +1 -1
- package/dist/gemini/chat.d.ts +38 -53
- package/dist/gemini/chat.d.ts.map +1 -1
- package/dist/gemini/chat.js +20 -25
- package/dist/gemini/chat.js.map +1 -1
- package/dist/gemini/endpoints.d.ts +59 -11
- package/dist/gemini/endpoints.d.ts.map +1 -1
- package/dist/gemini/endpoints.js +33 -7
- package/dist/gemini/endpoints.js.map +1 -1
- package/dist/gemini/errors.d.ts +39 -5
- package/dist/gemini/errors.d.ts.map +1 -1
- package/dist/gemini/errors.js +70 -9
- package/dist/gemini/errors.js.map +1 -1
- package/dist/gemini/generate.d.ts +53 -2
- package/dist/gemini/generate.d.ts.map +1 -1
- package/dist/gemini/generate.js +100 -50
- package/dist/gemini/generate.js.map +1 -1
- package/dist/gemini/index.d.ts +4 -4
- package/dist/gemini/index.d.ts.map +1 -1
- package/dist/http.d.ts +41 -3
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +40 -2
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +13 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/ingest.d.ts +78 -0
- package/dist/ingest.d.ts.map +1 -0
- package/dist/ingest.js +893 -0
- package/dist/ingest.js.map +1 -0
- package/dist/library.d.ts +295 -33
- package/dist/library.d.ts.map +1 -1
- package/dist/library.js +458 -650
- package/dist/library.js.map +1 -1
- package/dist/map-reduce.d.ts +176 -10
- package/dist/map-reduce.d.ts.map +1 -1
- package/dist/map-reduce.js +807 -61
- package/dist/map-reduce.js.map +1 -1
- package/dist/model.d.ts +79 -6
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +80 -4
- package/dist/model.js.map +1 -1
- package/dist/node/handlers.d.ts +247 -14
- package/dist/node/handlers.d.ts.map +1 -1
- package/dist/node/handlers.js +491 -227
- package/dist/node/handlers.js.map +1 -1
- package/dist/node/index.d.ts +3 -2
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +2 -1
- package/dist/node/index.js.map +1 -1
- package/dist/node/ingest-child.d.ts +7 -1
- package/dist/node/ingest-child.d.ts.map +1 -1
- package/dist/node/ingest-child.js +19 -4
- package/dist/node/ingest-child.js.map +1 -1
- package/dist/node/isolated.d.ts +3 -1
- package/dist/node/isolated.d.ts.map +1 -1
- package/dist/node/isolated.js +11 -4
- package/dist/node/isolated.js.map +1 -1
- package/dist/node/originals.d.ts +19 -0
- package/dist/node/originals.d.ts.map +1 -0
- package/dist/node/originals.js +82 -0
- package/dist/node/originals.js.map +1 -0
- package/dist/node/spool.d.ts +106 -0
- package/dist/node/spool.d.ts.map +1 -0
- package/dist/node/spool.js +378 -0
- package/dist/node/spool.js.map +1 -0
- package/dist/node/sse.d.ts +6 -4
- package/dist/node/sse.d.ts.map +1 -1
- package/dist/node/sse.js +9 -7
- package/dist/node/sse.js.map +1 -1
- package/dist/openai/adapter.d.ts +5 -1
- package/dist/openai/adapter.d.ts.map +1 -1
- package/dist/openai/adapter.js +53 -12
- package/dist/openai/adapter.js.map +1 -1
- package/dist/output-limit.d.ts +2 -1
- package/dist/output-limit.d.ts.map +1 -1
- package/dist/output-limit.js +5 -2
- package/dist/output-limit.js.map +1 -1
- package/dist/pdf-layout.d.ts.map +1 -1
- package/dist/pdf-layout.js +71 -12
- package/dist/pdf-layout.js.map +1 -1
- package/dist/pdf-outline.d.ts +71 -0
- package/dist/pdf-outline.d.ts.map +1 -0
- package/dist/pdf-outline.js +414 -0
- package/dist/pdf-outline.js.map +1 -0
- package/dist/plan.d.ts +137 -7
- package/dist/plan.d.ts.map +1 -1
- package/dist/plan.js +248 -26
- package/dist/plan.js.map +1 -1
- package/dist/prepare.d.ts +50 -0
- package/dist/prepare.d.ts.map +1 -0
- package/dist/prepare.js +207 -0
- package/dist/prepare.js.map +1 -0
- package/dist/ranged.d.ts +16 -11
- package/dist/ranged.d.ts.map +1 -1
- package/dist/ranged.js +56 -12
- package/dist/ranged.js.map +1 -1
- package/dist/retry.d.ts +3 -1
- package/dist/retry.d.ts.map +1 -1
- package/dist/retry.js +6 -2
- package/dist/retry.js.map +1 -1
- package/dist/scope.d.ts +25 -0
- package/dist/scope.d.ts.map +1 -0
- package/dist/scope.js +60 -0
- package/dist/scope.js.map +1 -0
- package/dist/search.d.ts +7 -0
- package/dist/search.d.ts.map +1 -1
- package/dist/search.js +72 -10
- package/dist/search.js.map +1 -1
- package/dist/source.d.ts +60 -0
- package/dist/source.d.ts.map +1 -0
- package/dist/source.js +170 -0
- package/dist/source.js.map +1 -0
- package/dist/stores.d.ts +126 -31
- package/dist/stores.d.ts.map +1 -1
- package/dist/stores.js +655 -141
- package/dist/stores.js.map +1 -1
- package/dist/testing/fake-fetch.d.ts +31 -0
- package/dist/testing/fake-fetch.d.ts.map +1 -0
- package/dist/testing/fake-fetch.js +66 -0
- package/dist/testing/fake-fetch.js.map +1 -0
- package/dist/testing/fake-model.d.ts +38 -0
- package/dist/testing/fake-model.d.ts.map +1 -0
- package/dist/testing/fake-model.js +62 -0
- package/dist/testing/fake-model.js.map +1 -0
- package/dist/testing/index.d.ts +7 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +9 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/store-checks.d.ts +72 -0
- package/dist/testing/store-checks.d.ts.map +1 -0
- package/dist/testing/store-checks.js +619 -0
- package/dist/testing/store-checks.js.map +1 -0
- package/dist/tools.d.ts +47 -2
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +440 -71
- package/dist/tools.js.map +1 -1
- package/dist/types.d.ts +165 -14
- package/dist/types.d.ts.map +1 -1
- package/dist/whole-cost.d.ts +37 -0
- package/dist/whole-cost.d.ts.map +1 -0
- package/dist/whole-cost.js +46 -0
- package/dist/whole-cost.js.map +1 -0
- package/docs/README.md +21 -8
- package/docs/getting-started.md +18 -13
- package/docs/guides/anthropic.md +17 -10
- package/docs/guides/conversations.md +112 -47
- package/docs/guides/costs-and-limits.md +147 -42
- package/docs/guides/deployment.md +380 -86
- package/docs/guides/errors-and-reliability.md +317 -67
- package/docs/guides/explorer-model.md +4 -1
- package/docs/guides/openai-compatible.md +47 -7
- package/docs/guides/own-adapter-and-loop.md +60 -16
- package/docs/guides/pdfs.md +219 -36
- package/docs/guides/storage.md +676 -145
- package/docs/guides/testing.md +149 -129
- package/docs/guides/vertex-and-gemini.md +169 -57
- package/docs/guides/web-app.md +318 -80
- package/docs/how-it-works.md +155 -30
- package/docs/measurements.md +215 -13
- package/docs/publishing.md +185 -37
- package/docs/reference/anthropic.md +12 -7
- package/docs/reference/ask.md +415 -47
- package/docs/reference/errors-and-retries.md +194 -14
- package/docs/reference/events.md +77 -27
- package/docs/reference/gemini.md +252 -87
- package/docs/reference/library.md +886 -178
- package/docs/reference/node.md +659 -111
- package/docs/reference/openai.md +21 -10
- package/docs/reference/testing.md +311 -0
- package/docs/reference/tools.md +285 -30
- package/docs/security.md +404 -78
- package/docs/troubleshooting.md +151 -70
- package/docs/upgrading-0.10.md +472 -0
- package/docs/upgrading-0.9.md +890 -0
- package/package.json +16 -3
- package/src/access.ts +267 -0
- package/src/aggregate.ts +92 -14
- package/src/analyze.ts +2 -2
- package/src/answer-info.ts +45 -0
- package/src/anthropic/adapter.ts +40 -11
- package/src/ask.ts +866 -115
- package/src/cache.ts +20 -5
- package/src/citations.ts +294 -0
- package/src/encoding.ts +6 -4
- package/src/error-info.ts +290 -0
- package/src/errors.ts +131 -15
- package/src/events.ts +112 -24
- package/src/evidence.ts +35 -5
- package/src/extract.ts +56 -34
- package/src/gemini/adapter.ts +196 -43
- package/src/gemini/chat.ts +63 -78
- package/src/gemini/endpoints.ts +89 -16
- package/src/gemini/errors.ts +74 -11
- package/src/gemini/generate.ts +147 -57
- package/src/gemini/index.ts +4 -4
- package/src/http.ts +65 -4
- package/src/index.ts +13 -8
- package/src/ingest.ts +958 -0
- package/src/library.ts +711 -651
- package/src/map-reduce.ts +858 -70
- package/src/model.ts +113 -9
- package/src/node/handlers.ts +709 -221
- package/src/node/index.ts +14 -2
- package/src/node/ingest-child.ts +24 -6
- package/src/node/isolated.ts +11 -4
- package/src/node/originals.ts +78 -0
- package/src/node/spool.ts +379 -0
- package/src/node/sse.ts +9 -7
- package/src/openai/adapter.ts +56 -13
- package/src/output-limit.ts +5 -2
- package/src/pdf-layout.ts +69 -11
- package/src/pdf-outline.ts +400 -0
- package/src/plan.ts +287 -36
- package/src/prepare.ts +253 -0
- package/src/ranged.ts +48 -14
- package/src/retry.ts +6 -2
- package/src/scope.ts +63 -0
- package/src/search.ts +69 -13
- package/src/source.ts +178 -0
- package/src/stores.ts +702 -142
- package/src/testing/fake-fetch.ts +80 -0
- package/src/testing/fake-model.ts +78 -0
- package/src/testing/index.ts +11 -0
- package/src/testing/store-checks.ts +660 -0
- package/src/tools.ts +461 -73
- package/src/types.ts +151 -14
- package/src/whole-cost.ts +64 -0
package/src/anthropic/adapter.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Claude (the Messages API) as a model of `askWithFiles`. No SDK, like the other adapters: the
|
|
2
2
|
// caller gives a key or a token, and may give the URL of a gateway that speaks the same API.
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
|
-
import { base64, idleWatch, noteCutReply, notJsonMessage, readJson, replyEnd, resolveHeaderSource, resolveSecret, streamedReply, unreachableReason, type HeaderSource, type IdleWatch, type SecretSource } from "../http.js";
|
|
4
|
+
import { base64, idleWatch, noteCutReply, notJsonMessage, partTimer, readJson, replyEnd, resolveHeaderSource, resolveSecret, streamedReply, unreachableReason, until, waitText, type HeaderSource, type IdleWatch, type PartTimer, type SecretSource } from "../http.js";
|
|
5
5
|
import { laterResult, ModelRequestError, type ChatMessage, type ModelAdapter, type ModelMessage, type ModelReply, type ModelRequest, type ModelToolRound, type SendHooks, type ToolCall, type ToolTurn } from "../model.js";
|
|
6
6
|
import { completeWithinLimit, type LimitedReply } from "../output-limit.js";
|
|
7
7
|
import { noteNoRetry, retryAfterMs } from "../retry.js";
|
|
@@ -94,7 +94,11 @@ export type AnthropicOptions = {
|
|
|
94
94
|
* reports with each reply corrects it during a question.
|
|
95
95
|
*/
|
|
96
96
|
tokenScale?: number | undefined;
|
|
97
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Milliseconds a part read may take, its whole reply included. Defaults to 180,000; 0 sets none
|
|
99
|
+
* (since 0.10.0). A part past it is an `AnthropicRequestError` of kind "timeout" and status 0
|
|
100
|
+
* (since 0.10.0; before, the abort of the timer), which a whole-file read sends again once.
|
|
101
|
+
*/
|
|
98
102
|
timeoutMs?: number | undefined;
|
|
99
103
|
/**
|
|
100
104
|
* The longest wait, in milliseconds, for the first piece of a chat reply. Headers do not count:
|
|
@@ -376,10 +380,15 @@ export function anthropic(options: AnthropicOptions): ModelAdapter {
|
|
|
376
380
|
...options.body,
|
|
377
381
|
});
|
|
378
382
|
|
|
379
|
-
|
|
383
|
+
/**
|
|
384
|
+
* Sends a request. A `bounded` one (a part read, whose time limit is its signal) stops waiting
|
|
385
|
+
* when the signal aborts, even for a fetch that does not stop then itself.
|
|
386
|
+
*/
|
|
387
|
+
const post = async (body: Json, signal: AbortSignal | undefined, stopped: () => boolean, lost: (error: unknown) => AnthropicRequestError = unreachable, headers?: Record<string, string>, bounded = false): Promise<Response> => {
|
|
380
388
|
let response: Response;
|
|
381
389
|
try {
|
|
382
|
-
|
|
390
|
+
const sent = fetchImpl(url, { method: "POST", headers: headers ?? await headersNow(), body: JSON.stringify(body), ...(signal ? { signal } : {}) });
|
|
391
|
+
response = await (bounded ? until(sent, signal) : sent);
|
|
383
392
|
} catch (error) {
|
|
384
393
|
if (stopped()) throw error;
|
|
385
394
|
throw lost(error);
|
|
@@ -388,8 +397,8 @@ export function anthropic(options: AnthropicOptions): ModelAdapter {
|
|
|
388
397
|
return response;
|
|
389
398
|
};
|
|
390
399
|
|
|
391
|
-
/** The reply, from the content of a finished message. */
|
|
392
|
-
const replyOf = (content: Block[], stopReason: unknown, stopDetails: Json | undefined, usage: Json | undefined, problems: Map<number, string>, text: string): ModelReply => {
|
|
400
|
+
/** The reply, from the content of a finished message. `named` is the message's own fields: its ID and model. */
|
|
401
|
+
const replyOf = (content: Block[], stopReason: unknown, stopDetails: Json | undefined, usage: Json | undefined, problems: Map<number, string>, text: string, named?: Json): ModelReply => {
|
|
393
402
|
const boundary = content.map((block) => block?.type).lastIndexOf("fallback");
|
|
394
403
|
const refused = stopReason === "refusal";
|
|
395
404
|
// Cut off at the output limit with a call half-written: the call is answered, not run.
|
|
@@ -413,21 +422,33 @@ export function anthropic(options: AnthropicOptions): ModelAdapter {
|
|
|
413
422
|
...(typeof stopReason === "string" ? { finishReason: stopReason } : {}),
|
|
414
423
|
...(finish ? { finish } : {}),
|
|
415
424
|
...(refused ? { blockReason: `refusal${category}` } : {}),
|
|
425
|
+
...(typeof named?.id === "string" && named.id ? { responseId: named.id } : {}),
|
|
426
|
+
...(typeof named?.model === "string" && named.model ? { responseModel: named.model } : {}),
|
|
416
427
|
...(usage ? { usage: usageOf(usage), providerUsage: usage } : {}),
|
|
417
428
|
};
|
|
418
429
|
};
|
|
419
430
|
|
|
420
431
|
const generateText: GenerateText = ({ system, prompt, maxOutputTokens, signal, onTruncated, onUsage }) => {
|
|
421
432
|
const send = async (limit: number): Promise<LimitedReply> => {
|
|
422
|
-
const
|
|
433
|
+
const timer = partTimer(signal, options.timeoutMs);
|
|
434
|
+
try {
|
|
435
|
+
return await read(limit, timer);
|
|
436
|
+
} finally {
|
|
437
|
+
timer.stop();
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
/** One part read, within its time limit: past it, a timeout. A stop of the caller's is reported as it is. */
|
|
441
|
+
const read = async (limit: number, timer: PartTimer): Promise<LimitedReply> => {
|
|
442
|
+
const stopped = () => Boolean(signal?.aborted);
|
|
443
|
+
const lost = (error: unknown) => (timer.expired && !signal?.aborted ? tooSlow(timer.limitMs) : unreachable(error));
|
|
423
444
|
const response = await post({
|
|
424
445
|
model: options.model,
|
|
425
446
|
max_tokens: limit,
|
|
426
447
|
system,
|
|
427
448
|
messages: [{ role: "user", content: prompt }],
|
|
428
449
|
...options.analysisBody?.(limit),
|
|
429
|
-
},
|
|
430
|
-
const data = await readJson<Json>(response, () =>
|
|
450
|
+
}, timer.signal, stopped, lost, undefined, true);
|
|
451
|
+
const data = await readJson<Json>(response, stopped, lost, timer.signal ? { pulse: () => undefined, signal: timer.signal } : undefined, (error) => notJson(response, error));
|
|
431
452
|
const used = usageOf(data.usage as Json | undefined);
|
|
432
453
|
onUsage?.(used);
|
|
433
454
|
const content: Block[] = Array.isArray(data.content) ? data.content : [];
|
|
@@ -501,7 +522,7 @@ export function anthropic(options: AnthropicOptions): ModelAdapter {
|
|
|
501
522
|
const content: Block[] = Array.isArray(data.content) ? data.content : [];
|
|
502
523
|
const text = content.map((block) => (block?.type === "text" && typeof block.text === "string" ? block.text : "")).join("");
|
|
503
524
|
if (text) hooks.onText?.(text);
|
|
504
|
-
return replyOf(content, data.stop_reason, data.stop_details as Json | undefined, data.usage as Json | undefined, problems, text);
|
|
525
|
+
return replyOf(content, data.stop_reason, data.stop_details as Json | undefined, data.usage as Json | undefined, problems, text, data);
|
|
505
526
|
}
|
|
506
527
|
const content: Block[] = [];
|
|
507
528
|
const inputs = new Map<number, string>();
|
|
@@ -511,6 +532,8 @@ export function anthropic(options: AnthropicOptions): ModelAdapter {
|
|
|
511
532
|
let stopReason: unknown;
|
|
512
533
|
let stopDetails: Json | undefined;
|
|
513
534
|
let usage: Json | undefined;
|
|
535
|
+
/** The message's own fields, from `message_start`: its ID and model. */
|
|
536
|
+
let named: Json | undefined;
|
|
514
537
|
// `message_stop` ends the reply: a gateway that leaves the connection open after it is not waited for.
|
|
515
538
|
const end = replyEnd(watch);
|
|
516
539
|
try {
|
|
@@ -523,6 +546,7 @@ export function anthropic(options: AnthropicOptions): ModelAdapter {
|
|
|
523
546
|
end.reached();
|
|
524
547
|
} else if (event.type === "message_start") {
|
|
525
548
|
usage = { ...event.message?.usage };
|
|
549
|
+
named = event.message as Json | undefined;
|
|
526
550
|
} else if (event.type === "content_block_start" && typeof event.index === "number") {
|
|
527
551
|
content[event.index] = { ...event.content_block };
|
|
528
552
|
} else if (event.type === "content_block_delta" && typeof event.index === "number") {
|
|
@@ -590,7 +614,7 @@ export function anthropic(options: AnthropicOptions): ModelAdapter {
|
|
|
590
614
|
// The problems were noted by the place of the block in the stream: the same place, with no gaps, in what is kept.
|
|
591
615
|
const placed = new Map<number, string>();
|
|
592
616
|
for (const [index, problem] of problems) placed.set(blocks.indexOf(content[index]!), problem);
|
|
593
|
-
return replyOf(blocks, stopReason, stopDetails, usage, placed, text);
|
|
617
|
+
return replyOf(blocks, stopReason, stopDetails, usage, placed, text, named);
|
|
594
618
|
}
|
|
595
619
|
}
|
|
596
620
|
}
|
|
@@ -600,6 +624,11 @@ function notJson(response: Response, error: unknown): AnthropicRequestError {
|
|
|
600
624
|
return new AnthropicRequestError(notJsonMessage("Claude's", response), response.status, { kind: "invalid", cause: error });
|
|
601
625
|
}
|
|
602
626
|
|
|
627
|
+
/** A part read whose whole reply did not come within its time limit (`timeoutMs`). */
|
|
628
|
+
function tooSlow(limitMs: number): AnthropicRequestError {
|
|
629
|
+
return new AnthropicRequestError(`Claude took longer than ${waitText(limitMs)} to answer.`, 0, { kind: "timeout" });
|
|
630
|
+
}
|
|
631
|
+
|
|
603
632
|
/** A request that got no answer: the reason, without the stack of the HTTP client. */
|
|
604
633
|
function unreachable(error: unknown): AnthropicRequestError {
|
|
605
634
|
return new AnthropicRequestError(`Claude could not be reached${unreachableReason(error)}.`, 0, { cause: error });
|