Skip to content

ChatMessage being given list rather than index #1

Description

@rian-dolphin

Really helpful repo - I just noticed something small!

ChatMessage() takes an int but it is being passed a list on the line below which results in an error:
Div(*[ChatMessage(msg) for msg in messages],

Could change it to something like:
Div(*[ChatMessage(msg_idx) for msg_idx, _ in enumerate(messages)],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions