Skip to content

Commit f14e9e0

Browse files
fix: revert
1 parent 06aeacf commit f14e9e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import path from "path";
3434
import { fileURLToPath } from "url";
3535
import { character } from "./character.ts";
3636
import type { DirectClient } from "@ai16z/client-direct";
37-
import blobert from "./blobert.ts";
3837

3938
const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file
4039
const __dirname = path.dirname(__filename); // get the name of the directory
@@ -179,6 +178,7 @@ function initializeDatabase(dataDir: string) {
179178
if (process.env.POSTGRES_URL) {
180179
const db = new PostgresDatabaseAdapter({
181180
connectionString: process.env.POSTGRES_URL,
181+
parseInputs: true,
182182
});
183183
return db;
184184
} else {
@@ -318,7 +318,7 @@ const startAgents = async () => {
318318

319319
let charactersArg = args.characters || args.character;
320320

321-
let characters = [blobert];
321+
let characters = [character];
322322

323323
if (charactersArg) {
324324
characters = await loadCharacters(charactersArg);

0 commit comments

Comments
 (0)