Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Discord Integration "Two children with the same key" when bot in 2 servers #689

Open
AbdurrehmanSubhani opened this issue Nov 27, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AbdurrehmanSubhani
Copy link
Contributor

Product

USDK (Upstreet Agents SDK)

What happened?

Bot worked fine when in a single server.
Added the Bot to a new server and it threw exceptions.

Version

0.0.93

What is your environment?

No response

Link to original discussion

No response

Relevant log output

discord connect 4
discord connect 5
Encountered two children with the same key, `discord:dm:343797252914937856`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    at ConversationInstance (/Users/abdurrehmansubhani/Desktop/agents/discordAgent/packages/upstreet-agent/packages/react-agents/components.tsx:167:5)
    at Conversation (/Users/abdurrehmansubhani/Desktop/agents/discordAgent/packages/upstreet-agent/packages/react-agents/components.tsx:208:17)
    at SocialMediaActions
    at DefaultActions
    at DefaultAgentComponents
    at agent
    at eval (/Users/abdurrehmansubhani/Desktop/agents/discordAgent/packages/upstreet-agent/packages/react-agents/components.tsx:91:3)
    at MyAgent
    at ErrorBoundary (/Users/abdurrehmansubhani/Desktop/agents/discordAgent/packages/upstreet-agent/packages/react-agents/classes/agent-renderer.tsx:50:5)
    at AppComponent (/Users/abdurrehmansubhani/Desktop/agents/discordAgent/packages/upstreet-agent/packages/react-agents/classes/agent-renderer.tsx:80:3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants