Fix bug where AgentMessageTile are being reused inappropriately

pull/5372/head^2
hunteraraujo 2023-09-27 23:01:06 -07:00
parent b04f4e0f55
commit d2f64a1163
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ class _ChatViewState extends State<ChatView> {
return UserMessageTile(message: chat.message);
} else {
return AgentMessageTile(
key: ValueKey(chat.id),
chat: chat,
onArtifactsButtonPressed: () {
// TODO: Create an actual artifact object