Skip to content

Update chat_messages.py #485

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

leeivan1007
Copy link

I try a toy same by using run.py

python run.py --task "A bird is flying" --name "A bird"

And it shows:

ChatMessage(role_name=self.role_name, role_type=self.role_type, 
TypeError: __init__() got an unexpected keyword argument 'annotations'

I add an attribute (annotations) to class ChatMessage. And It is solved.

Solve the issue with the run.py which it shows:
TypeError: __init__() got an unexpected keyword argument 'annotations'
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.

1 participant