@memoy-dev/sdk 0.0.2 → 0.0.3

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/package.json +1 -1
  2. package/readme.md +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memoy-dev/sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Run your memoy agents from any JavaScript runtime.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/readme.md CHANGED
@@ -11,7 +11,7 @@ npm install @memoy-dev/sdk
11
11
  ```ts
12
12
  import { Memoy, MemoyError } from "@memoy-dev/sdk"
13
13
 
14
- const memoy = new Memoy({ apiKey: "db_live_..." })
14
+ const memoy = new Memoy({ apiKey: "memoy_live_..." })
15
15
 
16
16
  // With a key, the agent remembers this user across conversations
17
17
  const reply = await memoy.run({
@@ -48,7 +48,7 @@ try {
48
48
  import { Memoy, MemoyError } from "@memoy-dev/sdk"
49
49
 
50
50
  // apiKey defaults to process.env.MEMOY_API_KEY
51
- const memoy = new Memoy({ apiKey: "db_live_..." })
51
+ const memoy = new Memoy({ apiKey: "memoy_live_..." })
52
52
 
53
53
  // Runs on the agent's own model.
54
54
  const reply = await memoy.run({ agent: "your-agent-slug", input: "Hi!" })