@eko-ai/eko-nodejs 2.0.9 → 2.1.0-alpha.2

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.
Files changed (2) hide show
  1. package/README.md +8 -11
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -55,29 +55,26 @@ Eko (pronounced like ‘echo’) is a production-ready JavaScript framework that
55
55
  > Please refer to the link: https://eko.fellou.ai/docs/getting-started/configuration#web-environment
56
56
 
57
57
  ```typescript
58
- // quickstart.ts
59
58
  const llms: LLMs = {
60
59
  default: {
61
60
  provider: "anthropic",
62
- model: "claude-3-5-sonnet-20241022",
63
- apiKey: claudeApiKey || "your-api-key",
64
- config: { baseURL: claudeBaseURL },
61
+ model: "claude-sonnet-4-20250514",
62
+ apiKey: "your-api-key"
65
63
  },
66
64
  openai: {
67
65
  provider: "openai",
68
- model: "gpt-4o-mini",
69
- apiKey: openaiApiKey || "your-api-key",
70
- config: { baseURL: openaiBaseURL },
71
- },
66
+ model: "gpt-4.1",
67
+ apiKey: "your-api-key"
68
+ }
72
69
  };
73
- let agents: Agent[] = [new ChatAgent(), new BrowserAgent()];
70
+
71
+ let agents: Agent[] = [new BrowserAgent(), new FileAgent()];
74
72
  let eko = new Eko({ llms, agents });
75
- let result = await eko.run("Search for the latest news about Musk");
73
+ let result = await eko.run("Search for the latest news about Musk, summarize and save to the desktop as Musk.md");
76
74
  ```
77
75
 
78
76
  ```bash
79
77
  $ pnpm install @eko-ai/eko
80
- $ npx ts-node quickstart.ts
81
78
  ```
82
79
 
83
80
  ## Use Cases
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eko-ai/eko-nodejs",
3
- "version": "2.0.9",
3
+ "version": "2.1.0-alpha.2",
4
4
  "description": "Empowering language to transform human words into action.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -37,7 +37,7 @@
37
37
  "chromium-bidi": "^0.12.0",
38
38
  "glob": "^11.0.2",
39
39
  "playwright": "^1.52.0",
40
- "@eko-ai/eko": "2.0.9"
40
+ "@eko-ai/eko": "2.1.0-alpha.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@rollup/plugin-commonjs": "^28.0.3",