Skip to content

Commit c890e12

Browse files
authored
fix: typo (#649)
1 parent d5de19c commit c890e12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/src/agents/sql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ export const run = async () => {
1515
const db = await SqlDatabase.fromDataSourceParams({
1616
appDataSource: datasource,
1717
});
18-
const tookit = new SqlToolkit(db);
18+
const toolkit = new SqlToolkit(db);
1919
const model = new OpenAI({ temperature: 0 });
20-
const executor = createSqlAgent(model, tookit);
20+
const executor = createSqlAgent(model, toolkit);
2121

2222
const input = `List the total sales per country. Which country's customers spent the most?`;
2323

0 commit comments

Comments
 (0)