Skip to content

Commit 9546b28

Browse files
committed
prep for user study
1 parent d9c2071 commit 9546b28

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/langgraph/agents.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ export function createJournalist(
100100
let datasetDescription = returnDatasetDescription(scene);
101101
let roleContent = `You are a newspaper editorial, you need to return a title based on the dataset description.`;
102102
let userContent = `write a news title for the given topic: ${datasetDescription}; The title is prepared for a news or magazine article about the dataset.`;
103+
104+
105+
103106
msg = await startTextMessager(roleContent, userContent);
104107
} else if (index === 1) {
105108
msg = await startDataFetcher(scene, agent);

src/langgraph/votingUtils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ export async function parallelVotingExecutor(
4444
console.log(
4545
`[Debug] Agent ${agent.getName()} is moving to voting location...`,
4646
);
47+
48+
agent.setAgentState('work');
4749
await autoControlAgent(
4850
scene,
4951
agent,
@@ -57,7 +59,7 @@ export async function parallelVotingExecutor(
5759
);
5860

5961
// agent.anims.play(`${agent.name}_${'player_work'}`, true);
60-
agent.setAgentState('work');
62+
6163

6264
// 2. Simultaneous initiation of two asynchronous tasks: LLM polling and return to original position
6365
console.log(

0 commit comments

Comments
 (0)