Skip to content

Commit 0be4c87

Browse files
committed
removed dialog play temp
1 parent c94c794 commit 0be4c87

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/langgraph/agents.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export function createJournalist(
167167
const originalAgent1Y = agent.y;
168168

169169
// await updateStateIcons(zones, "mail", 0);
170-
await agent.playDialogue(scene, msg.content);
170+
//await agent.playDialogue(scene, msg.content);
171171
await agent.setAgentInformation(msg.content);
172172
await agent.addMssgSprite(scene, "agent_mssg");
173173
console.log("debug agent pos", destination.x, destination.y);
@@ -302,7 +302,7 @@ export function createManager(
302302
console.log("graph:3rd agent msg:", msg.content);
303303
// await updateStateIcons(zones, "idle", 0);
304304
await agent.setAgentState("idle");
305-
await agent.playDialogue(scene, msg.content);
305+
//await agent.playDialogue(scene, msg.content);
306306
await agent.setAgentInformation(msg.content);
307307
await agent.addMssgSprite(scene, "agent_mssg");
308308

@@ -438,7 +438,7 @@ export function createWriter(
438438

439439
// await updateStateIcons(zones, "mail", 1);
440440
// await updateStateIcons(scene.chainingZones, "mail");
441-
await agent.playDialogue(scene, msg.content);
441+
//await agent.playDialogue(scene, msg.content);
442442
await agent.setAgentInformation(msg.content);
443443
await agent.addMssgSprite(scene, "agent_mssg");
444444

src/langgraph/singleAgentUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function createAgent(
128128

129129
console.log('graph:single agent msg', mssg.content);
130130

131-
await agent.playDialogue(scene, mssg.content);
131+
//await agent.playDialogue(scene, mssg.content);
132132
await agent.setAgentInformation(mssg.content);
133133

134134
await autoControlAgent(

src/langgraph/votingUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export async function parallelVotingExecutor(
100100
msg = await generateChartImage(scene, agent);
101101
}
102102

103-
await agent.playDialogue(scene, msg.content);
103+
//await agent.playDialogue(scene, msg.content);
104104
await agent.setAgentInformation(msg.content);
105105
await agent.addMssgSprite(scene, "agent_mssg");
106106

0 commit comments

Comments
 (0)