Helpful TODOs

This commit is contained in:
hunteraraujo
2023-09-03 12:54:00 -07:00
parent aa26cad9e7
commit 1b314a5782
2 changed files with 2 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ class ChatViewModel with ChangeNotifier {
print("Chats added for task ID: $_currentTaskId");
} catch (error) {
// TODO: Bubble up errors to UI
print("Error sending chat: $error");
// TODO: Handle additional error scenarios or log them as required
}

View File

@@ -106,6 +106,7 @@ class _AgentMessageTileState extends State<AgentMessageTile> {
child: JsonCodeSnippetView(
// JSON code snippet view
jsonString:
// TODO: Include the appropriate string
"{\"input\":\"Washington\",\"additional_input\":{\"file_to_refactor\":\"models.py\"},\"task_id\":\"50da533e-3904-4401-8a07-c49adf88b5eb\",\"step_id\":\"6bb1801a-fd80-45e8-899a-4dd723cc602e\",\"name\":\"Writetofile\",\"status\":\"created\",\"output\":\"Iamgoingtousethewrite_to_filecommandandwriteWashingtontoafilecalledoutput.txt<write_to_file('output.txt','Washington')\",\"additional_output\":{\"tokens\":7894,\"estimated_cost\":\"0,24\"},\"artifacts\":[],\"is_last\":false}",
),
),