Skip to content

Commit

Permalink
fix details handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Feb 14, 2024
1 parent 1bdac1f commit d6ad78c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/agents/cj/evaluators/details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ const handler = async (runtime: BgentRuntime, message: Message) => {
return;
}

const { user, name, age, location, gender } = responseData;
const { name, age, location, gender } = responseData;

console.log('responseData', responseData)

const response = await runtime.supabase
.from("accounts")
.select("*")
.eq("name", user)
.eq("id", message.senderId)
.single();
const { data: userRecord, error } = response;
if (error) {
Expand Down

0 comments on commit d6ad78c

Please sign in to comment.