Fix bug where AgentMessageTile are being reused inappropriately
parent
b04f4e0f55
commit
d2f64a1163
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue