Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ReadEVMTx Tool #40

Merged
merged 4 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading