Skip to content

Commit

Permalink
Add ReadEVMTx Tool (#40)
Browse files Browse the repository at this point in the history
* Fix settings for debug in vscode

* remove some log messages

* Improve the workflow prompt

* Add ReadEVMTxTool
  • Loading branch information
simonerom authored Jan 15, 2025
1 parent 727b388 commit 7f8c370
Show file tree
Hide file tree
Showing 9 changed files with 4,024 additions and 25 deletions.
4 changes: 2 additions & 2 deletions example/demo_agent.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as dotenv from 'dotenv';
import readline from 'readline';
import { SentientAI } from '../src/SentientAI'; // Import SentientAI

dotenv.config();
Expand All @@ -7,7 +8,6 @@ async function main() {
const sentientAI = new SentientAI();

// read users' input
const readline = require('readline');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
Expand All @@ -21,7 +21,7 @@ async function main() {
return;
}

console.log(`User Input: ${input}`);
// console.log(`User Input: ${input}`);
try {
const response = await sentientAI.agent.execute(input);
console.log(`Binoai Response:\n${response}`);
Expand Down
Loading

0 comments on commit 7f8c370

Please sign in to comment.