@elizaos/plugin-elizacloud 1.7.0-alpha.0 → 1.7.3
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/browser/index.browser.js +3 -3
- package/dist/browser/index.browser.js.map +11 -13
- package/dist/cjs/index.node.cjs +253 -661
- package/dist/cjs/index.node.js.map +11 -17
- package/dist/index.browser.d.ts +2 -16
- package/dist/index.d.ts +0 -11
- package/dist/models/embeddings.d.ts +27 -1
- package/dist/models/image.d.ts +6 -8
- package/dist/models/index.d.ts +2 -1
- package/dist/models/object.d.ts +2 -3
- package/dist/models/text.d.ts +11 -3
- package/dist/node/index.node.js +254 -662
- package/dist/node/index.node.js.map +11 -17
- package/package.json +8 -18
- package/dist/database/adapter.d.ts +0 -27
- package/dist/database/direct-adapter.d.ts +0 -31
- package/dist/database/index.d.ts +0 -14
- package/dist/database/schema.d.ts +0 -11
- package/dist/database/types.d.ts +0 -22
- package/dist/storage/index.d.ts +0 -8
- package/dist/storage/service.d.ts +0 -62
- package/dist/storage/types.d.ts +0 -44
package/dist/models/text.d.ts
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import type { GenerateTextParams, IAgentRuntime } from "@elizaos/core";
|
|
1
|
+
import type { GenerateTextParams, IAgentRuntime, TextStreamResult } from "@elizaos/core";
|
|
2
2
|
/**
|
|
3
3
|
* TEXT_SMALL model handler
|
|
4
|
+
*
|
|
5
|
+
* Returns:
|
|
6
|
+
* - `string` for simple text generation
|
|
7
|
+
* - `TextStreamResult` for streaming (when params.stream = true)
|
|
4
8
|
*/
|
|
5
|
-
export declare function handleTextSmall(runtime: IAgentRuntime,
|
|
9
|
+
export declare function handleTextSmall(runtime: IAgentRuntime, params: GenerateTextParams): Promise<string | TextStreamResult>;
|
|
6
10
|
/**
|
|
7
11
|
* TEXT_LARGE model handler
|
|
12
|
+
*
|
|
13
|
+
* Returns:
|
|
14
|
+
* - `string` for simple text generation
|
|
15
|
+
* - `TextStreamResult` for streaming (when params.stream = true)
|
|
8
16
|
*/
|
|
9
|
-
export declare function handleTextLarge(runtime: IAgentRuntime,
|
|
17
|
+
export declare function handleTextLarge(runtime: IAgentRuntime, params: GenerateTextParams): Promise<string | TextStreamResult>;
|