Skip to content

Conversation

@AbdurrehmanSubhani
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Dec 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 5:09am
upstreet.ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 5:09am

});

const agentSpecs = agents
.filter(mapAgent => mapAgent.playerId !== agent.id)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want the current agent in this list?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current agent is being added via the currentAgentSpec + formatAgent inside the Prompt component, agentSpecs mapped out for "Other Characters" hence need to exclude the current agent

}
addAgent(agentId: string, player: Player) {
this.agentsMap.set(agentId, player);
this.dispatchEvent(new Event('addAgent'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend rename to 'agentschange'.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants