Skip to content

Commit

Permalink
fix(agents): use the userEmpty template for an empty input in Bee
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Dvorak <[email protected]>
  • Loading branch information
Tomas2D committed Dec 13, 2024
1 parent b9116be commit 637368d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agents/bee/runners/default/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export class DefaultRunner extends BaseRunner {
prompt !== null || this.input.memory.isEmpty()
? BaseMessage.of({
role: Role.USER,
text: prompt ?? "",
text: prompt || this.templates.userEmpty.render({}),
meta: {
createdAt: new Date(),
},
Expand Down

0 comments on commit 637368d

Please sign in to comment.