Skip to content

Commit

Permalink
feat(agent): update custom agent example
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Dvorak <[email protected]>
  • Loading branch information
Tomas2D committed Nov 4, 2024
1 parent 92b0a38 commit e942b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/agents/custom_agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interface AgentInput {
export class CustomAgent extends BaseAgent<RunInput, RunOutput, RunOptions> {
protected driver: JsonDriver;
public readonly memory: BaseMemory;
public emitter = new Emitter({
public emitter = Emitter.root.child({
namespace: ["agent", "custom"],
creator: this,
});
Expand Down

0 comments on commit e942b18

Please sign in to comment.