Skip to content

Commit

Permalink
fix(fixup): prints inputs to reuse in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EresDev committed Dec 23, 2024
1 parent 94ea9fb commit e8b0bb3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/handlers/call-personal-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ export async function callPersonalAgent(context: Context, inputs: PluginInputs)
const personalAgentOwner = targetUser[0].replace("/@", "");
logger.info(`Comment received:`, { owner, personalAgentOwner, comment: body });

console.log("inputs started");
console.log(
JSON.stringify({
...inputs,
settings: JSON.stringify(inputs.settings),
eventPayload: JSON.stringify(inputs.eventPayload),
})
);
console.log("inputs ended");
try {
const personalAgentConfig = await getPersonalAgentConfig(context, personalAgentOwner);

Expand Down

0 comments on commit e8b0bb3

Please sign in to comment.