@aigne/example-workflow-code-execution 1.18.6-beta.3 → 1.18.6-beta.30
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/package.json +7 -7
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ Coder ->> User: The value of \(10!\) (10 factorial) is 3,628,800.
|
|
|
64
64
|
npx -y @aigne/example-workflow-code-execution
|
|
65
65
|
|
|
66
66
|
# Run in interactive chat mode
|
|
67
|
-
npx -y @aigne/example-workflow-code-execution --
|
|
67
|
+
npx -y @aigne/example-workflow-code-execution --interactive
|
|
68
68
|
|
|
69
69
|
# Use pipeline input
|
|
70
70
|
echo 'Calculate 15!' | npx -y @aigne/example-workflow-code-execution
|
|
@@ -72,7 +72,7 @@ echo 'Calculate 15!' | npx -y @aigne/example-workflow-code-execution
|
|
|
72
72
|
|
|
73
73
|
### Connect to an AI Model
|
|
74
74
|
|
|
75
|
-
As an example, running `npx -y @aigne/example-workflow-code-execution --
|
|
75
|
+
As an example, running `npx -y @aigne/example-workflow-code-execution --interactive` requires an AI model. If this is your first run, you need to connect one.
|
|
76
76
|
|
|
77
77
|

|
|
78
78
|
|
|
@@ -133,7 +133,7 @@ pnpm install
|
|
|
133
133
|
pnpm start # Run in one-shot mode (default)
|
|
134
134
|
|
|
135
135
|
# Run in interactive chat mode
|
|
136
|
-
pnpm start -- --
|
|
136
|
+
pnpm start -- --interactive
|
|
137
137
|
|
|
138
138
|
# Use pipeline input
|
|
139
139
|
echo "Calculate 15!" | pnpm start
|
|
@@ -145,7 +145,7 @@ The example supports the following command-line parameters:
|
|
|
145
145
|
|
|
146
146
|
| Parameter | Description | Default |
|
|
147
147
|
|-----------|-------------|---------|
|
|
148
|
-
| `--
|
|
148
|
+
| `--interactive` | Run in interactive chat mode | Disabled (one-shot mode) |
|
|
149
149
|
| `--model <provider[:model]>` | AI model to use in format 'provider\[:model]' where model is optional. Examples: 'openai' or 'openai:gpt-4o-mini' | openai |
|
|
150
150
|
| `--temperature <value>` | Temperature for model generation | Provider default |
|
|
151
151
|
| `--top-p <value>` | Top-p sampling value | Provider default |
|
|
@@ -158,7 +158,7 @@ The example supports the following command-line parameters:
|
|
|
158
158
|
|
|
159
159
|
```bash
|
|
160
160
|
# Run in chat mode (interactive)
|
|
161
|
-
pnpm start -- --
|
|
161
|
+
pnpm start -- --interactive
|
|
162
162
|
|
|
163
163
|
# Set logging level
|
|
164
164
|
pnpm start -- --log-level DEBUG
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-workflow-code-execution",
|
|
3
|
-
"version": "1.18.6-beta.
|
|
3
|
+
"version": "1.18.6-beta.30",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework to build a code-execution 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-code-execution",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "^3.25.67",
|
|
20
|
-
"@aigne/
|
|
21
|
-
"@aigne/
|
|
22
|
-
"@aigne/core": "^1.72.0-beta.
|
|
23
|
-
"@aigne/default-memory": "^1.
|
|
24
|
-
"@aigne/openai": "^0.16.16-beta.
|
|
20
|
+
"@aigne/agent-library": "^1.24.0-beta.25",
|
|
21
|
+
"@aigne/cli": "^1.59.0-beta.29",
|
|
22
|
+
"@aigne/core": "^1.72.0-beta.23",
|
|
23
|
+
"@aigne/default-memory": "^1.4.0-beta.22",
|
|
24
|
+
"@aigne/openai": "^0.16.16-beta.23"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/bun": "^1.2.22",
|
|
28
|
-
"@aigne/test-utils": "^0.5.69-beta.
|
|
28
|
+
"@aigne/test-utils": "^0.5.69-beta.23"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"start": "bun run index.ts",
|