Skip to content

Commit

Permalink
feat(agent): update user prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas2D committed Sep 11, 2024
1 parent 667a30a commit b9303ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/agents/bee/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ export const BeeUserPrompt = new PromptTemplate({
return "";
}

const parts = [meta.createdAt && `Created At: ${meta.createdAt}`].filter(Boolean).join("\n");
const parts = [meta.createdAt && `This message was created at ${meta.createdAt}`]
.filter(Boolean)
.join("\n");

return parts ? `\n\n${parts}` : parts;
},
},
Expand Down

0 comments on commit b9303ca

Please sign in to comment.