mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-03 22:34:29 +01:00
This commit brings a key update to the ChatInputField widget, making it more flexible and decoupled: - The onSendPressed callback now takes a string parameter. This string represents the message that the user wishes to send. - The onPressed of the send button (IconButton) is now implemented within the ChatInputField widget. It checks if the TextField has any text before calling onSendPressed. - Added a TextEditingController to manage the TextField's content.