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

Undefined user message error while using Pair Prompting #7

Open
Sidharth004 opened this issue Dec 20, 2023 · 0 comments
Open

Undefined user message error while using Pair Prompting #7

Sidharth004 opened this issue Dec 20, 2023 · 0 comments

Comments

@Sidharth004
Copy link
Owner

Description:
The project runs well when I choose separate prompt options and query the models separately. But while using the pairprompting option, where the prompt is sent to both ai models simultaneously, the following error is logged:
Uncaught TypeError: Cannot read properties of undefined (reading 'user')
at ChatMessage (ChatInterface.jsx:203:66)

Initial Investigation suggests the error is pointing to how the chat logs are updated when the pair prompting option is used

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

No branches or pull requests

1 participant