@aigne/example-workflow-group-chat 1.14.1 → 1.15.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/index.ts +1 -1
- package/package.json +6 -6
package/index.ts
CHANGED
|
@@ -117,7 +117,7 @@ const manager = AIAgent.from({
|
|
|
117
117
|
subscribeTopic: DEFAULT_TOPIC,
|
|
118
118
|
publishTopic: (output) => output.role,
|
|
119
119
|
memory: new DefaultMemory({ subscribeTopic: DEFAULT_TOPIC }),
|
|
120
|
-
instructions: PromptTemplate.from(`\
|
|
120
|
+
instructions: await PromptTemplate.from(`\
|
|
121
121
|
You are participating in a role-playing game. The available roles are:
|
|
122
122
|
|
|
123
123
|
<roles>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-workflow-group-chat",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.1",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework to build a group chat workflow",
|
|
5
5
|
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
6
6
|
"homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/workflow-group-chat",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "^3.25.67",
|
|
20
|
-
"@aigne/
|
|
21
|
-
"@aigne/
|
|
22
|
-
"@aigne/core": "^1.
|
|
23
|
-
"@aigne/
|
|
20
|
+
"@aigne/agent-library": "^1.20.1",
|
|
21
|
+
"@aigne/cli": "^1.22.2",
|
|
22
|
+
"@aigne/core": "^1.32.1",
|
|
23
|
+
"@aigne/openai": "^0.8.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/bun": "^1.2.17",
|
|
27
|
-
"@aigne/test-utils": "^0.5.
|
|
27
|
+
"@aigne/test-utils": "^0.5.3"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"start": "bun run index.ts",
|