@aigne/example-workflow-code-execution 1.18.7-beta → 1.74.0-beta
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 +5 -5
- package/index.test.ts +1 -1
- package/index.ts +1 -1
- package/package.json +18 -10
package/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<picture>
|
|
5
|
-
<source srcset="https://raw.githubusercontent.com/
|
|
6
|
-
<source srcset="https://raw.githubusercontent.com/
|
|
7
|
-
<img src="https://raw.githubusercontent.com/
|
|
5
|
+
<source srcset="https://raw.githubusercontent.com/ArcBlock/aigne-framework/main/logo-dark.svg" media="(prefers-color-scheme: dark)">
|
|
6
|
+
<source srcset="https://raw.githubusercontent.com/ArcBlock/aigne-framework/main/logo.svg" media="(prefers-color-scheme: light)">
|
|
7
|
+
<img src="https://raw.githubusercontent.com/ArcBlock/aigne-framework/main/logo.svg" alt="AIGNE Logo" width="400" />
|
|
8
8
|
</picture>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
|
-
This is a demonstration of using [AIGNE Framework](https://github.com/
|
|
11
|
+
This is a demonstration of using [AIGNE Framework](https://github.com/ArcBlock/aigne-framework) to build a code-execution workflow. The example now supports both one-shot and interactive chat modes, along with customizable model settings and pipeline input/output.
|
|
12
12
|
|
|
13
13
|
```mermaid
|
|
14
14
|
flowchart LR
|
|
@@ -116,7 +116,7 @@ View a list of recent executions.
|
|
|
116
116
|
### Clone the Repository
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
|
-
git clone https://github.com/
|
|
119
|
+
git clone https://github.com/ArcBlock/aigne-framework
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
### Install Dependencies
|
package/index.test.ts
CHANGED
package/index.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { runWithAIGNE } from "@aigne/cli/utils/run-with-aigne.js";
|
|
4
4
|
import { AIAgent, FunctionAgent } from "@aigne/core";
|
|
5
|
-
import { logger } from "@aigne/core/utils/logger
|
|
5
|
+
import { logger } from "@aigne/core/utils/logger";
|
|
6
6
|
import { DefaultMemory } from "@aigne/default-memory";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-workflow-code-execution",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.74.0-beta",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework to build a code-execution workflow",
|
|
5
|
-
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
6
|
-
"homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/workflow-code-execution",
|
|
7
5
|
"license": "MIT",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
10
|
+
"homepage": "https://www.aigne.io/framework",
|
|
8
11
|
"repository": {
|
|
9
12
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
13
|
+
"url": "git+https://github.com/ArcBlock/aigne-framework"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/ArcBlock/aigne-framework/issues"
|
|
11
17
|
},
|
|
18
|
+
"type": "module",
|
|
12
19
|
"bin": "index.ts",
|
|
13
20
|
"files": [
|
|
14
21
|
".env.local.example",
|
|
@@ -16,16 +23,17 @@
|
|
|
16
23
|
"README.md"
|
|
17
24
|
],
|
|
18
25
|
"dependencies": {
|
|
26
|
+
"@aigne/default-memory": "^1.4.1-beta",
|
|
19
27
|
"zod": "^3.25.67",
|
|
20
|
-
"@aigne/
|
|
21
|
-
"@aigne/
|
|
22
|
-
"@aigne/core": "^1.
|
|
23
|
-
"@aigne/
|
|
24
|
-
"@aigne/openai": "^0.16.16"
|
|
28
|
+
"@aigne/cli": "^1.74.0-beta",
|
|
29
|
+
"@aigne/agent-library": "^1.74.0-beta",
|
|
30
|
+
"@aigne/core": "^1.74.0-beta",
|
|
31
|
+
"@aigne/openai": "^1.74.0-beta"
|
|
25
32
|
},
|
|
26
33
|
"devDependencies": {
|
|
27
34
|
"@types/bun": "^1.2.22",
|
|
28
|
-
"@aigne/
|
|
35
|
+
"@aigne/typescript-config": "0.0.0",
|
|
36
|
+
"@aigne/utils": "^1.74.0-beta"
|
|
29
37
|
},
|
|
30
38
|
"scripts": {
|
|
31
39
|
"start": "bun run index.ts",
|