lgrammel / js-agent

Build AI Agents with JS & TS
MIT License
236 stars 35 forks source link

WIP: Add user input tool #9

Closed founderblocks-sils closed 1 year ago

founderblocks-sils commented 1 year ago

attempting to test with

--- a/examples/javascript-developer/package.json
+++ b/examples/javascript-developer/package.json
@@ -9,7 +9,7 @@
   },
   "private": true,
   "dependencies": {
-    "js-agent": "*",
+    "js-agent": "file:../../packages/agent/",
     "dotenv": "16.0.3"
   },
   "devDependencies": {}

but that build fails. @lgrammel how are you testing local changes in examples?

lgrammel commented 1 year ago

attempting to test with

--- a/examples/javascript-developer/package.json
+++ b/examples/javascript-developer/package.json
@@ -9,7 +9,7 @@
   },
   "private": true,
   "dependencies": {
-    "js-agent": "*",
+    "js-agent": "file:../../packages/agent/",
     "dotenv": "16.0.3"
   },
   "devDependencies": {}

but that build fails. @lgrammel how are you testing local changes in examples?

It should work without changing the dependency. Pnpm takes care of it.

lgrammel commented 1 year ago

Love the idea! I left a few comments on how to make this work and potentially improve it.

founderblocks-sils commented 1 year ago

Pushed respective fixes already FWIW