mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
Added Artifact Handling for Chat Messages
- Enhanced the `Chat` model to include an `artifacts` field to hold associated artifacts. - Updated the `AgentMessageTile` widget to display the number of artifacts and added functionality to trigger artifact downloads upon button press. - Introduced a method in `ChatViewModel` to leverage the `ChatService` for artifact downloads.
This commit is contained in:
@@ -8,6 +8,7 @@ class Step {
|
||||
final String status;
|
||||
final String output;
|
||||
final Map<String, dynamic> additionalOutput;
|
||||
// TODO: Create an actual artifact object
|
||||
final List<dynamic> artifacts;
|
||||
final bool isLast;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user