ai 2.2.0 → 2.2.1
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/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/svelte/dist/index.js +1 -1
- package/svelte/dist/index.mjs +1 -1
package/dist/index.d.ts
CHANGED
@@ -285,7 +285,7 @@ type OpenAIStreamCallbacks = AIStreamCallbacks & {
|
|
285
285
|
* })
|
286
286
|
* ```
|
287
287
|
*/
|
288
|
-
experimental_onFunctionCall?: (functionCallPayload: FunctionCallPayload, createFunctionCallMessages: (functionCallResult: JSONValue) => CreateMessage[]) => Promise<Response | undefined | void | string
|
288
|
+
experimental_onFunctionCall?: (functionCallPayload: FunctionCallPayload, createFunctionCallMessages: (functionCallResult: JSONValue) => CreateMessage[]) => Promise<Response | undefined | void | string | AsyncIterable<ChatCompletionChunk>>;
|
289
289
|
};
|
290
290
|
interface ChatCompletionChunk {
|
291
291
|
id: string;
|
package/package.json
CHANGED
package/svelte/dist/index.js
CHANGED
@@ -410,7 +410,7 @@ var H = class {
|
|
410
410
|
}
|
411
411
|
};
|
412
412
|
|
413
|
-
// ../../node_modules/.pnpm/sswr@2.0.0_svelte@4.0.
|
413
|
+
// ../../node_modules/.pnpm/sswr@2.0.0_svelte@4.0.1/node_modules/sswr/dist/sswr.mjs
|
414
414
|
var import_svelte = require("svelte");
|
415
415
|
function p() {
|
416
416
|
}
|
package/svelte/dist/index.mjs
CHANGED
@@ -383,7 +383,7 @@ var H = class {
|
|
383
383
|
}
|
384
384
|
};
|
385
385
|
|
386
|
-
// ../../node_modules/.pnpm/sswr@2.0.0_svelte@4.0.
|
386
|
+
// ../../node_modules/.pnpm/sswr@2.0.0_svelte@4.0.1/node_modules/sswr/dist/sswr.mjs
|
387
387
|
import { beforeUpdate as w, onDestroy as E2 } from "svelte";
|
388
388
|
function p() {
|
389
389
|
}
|