@aigne/example-workflow-router 1.1.0-beta.8 → 1.1.0-beta.9

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/README.md CHANGED
@@ -51,7 +51,7 @@ pnpm start
51
51
  The following example demonstrates how to build a router workflow:
52
52
 
53
53
  ```typescript
54
- import { AIAgent, ChatModelOpenAI, ExecutionEngine } from "@aigne/core";
54
+ import { AIAgent, ChatModelOpenAI, ExecutionEngine } from "@aigne/core-next";
55
55
 
56
56
  const model = new ChatModelOpenAI({
57
57
  apiKey: process.env.OPENAI_API_KEY,
package/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env npx -y bun
2
2
 
3
- import { AIAgent, ChatModelOpenAI, ExecutionEngine, runChatLoopInTerminal } from "@aigne/core";
3
+ import { AIAgent, ChatModelOpenAI, ExecutionEngine, runChatLoopInTerminal } from "@aigne/core-next";
4
4
 
5
5
  const model = new ChatModelOpenAI({
6
6
  apiKey: process.env.OPENAI_API_KEY,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/example-workflow-router",
3
- "version": "1.1.0-beta.8",
3
+ "version": "1.1.0-beta.9",
4
4
  "description": "A demonstration of using AIGNE Framework to build a router workflow",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "dependencies": {
15
15
  "zod": "^3.24.2",
16
- "@aigne/core-next": "^1.1.0-beta.8"
16
+ "@aigne/core-next": "^1.1.0-beta.9"
17
17
  },
18
18
  "scripts": {
19
19
  "start": "npx -y bun run index.ts"
package/usages.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AIAgent, ChatModelOpenAI, ExecutionEngine } from "@aigne/core";
1
+ import { AIAgent, ChatModelOpenAI, ExecutionEngine } from "@aigne/core-next";
2
2
 
3
3
  const model = new ChatModelOpenAI({
4
4
  apiKey: process.env.OPENAI_API_KEY,