Commit Graph

245 Commits (remove-git-from-cli)

Author SHA1 Message Date
Reinier van der Leer e44ca4185a
fix(frontend): Unbreak `ChatInputField`
Fix specification of `onSubmitted` hook in the `TextField`.
2024-02-21 02:09:23 +01:00
Ethan Presberg 6cfe229332
feat(frontend): Allow sending a message with the enter key (#6378)
This has not yet been tested due to an issue with compiling on WSL. This was the fix suggested by Pwuts.
2024-02-20 10:49:37 +01:00
Samuel Walker 04d3817863
docs(frontend): Add note for Linux users to instructions (#6284)
Add a note for users on linux with chromium for building the frontend file
2023-11-24 20:07:09 +01:00
hunteraraujo a1d6087814 Comment change 2023-11-04 10:53:32 -07:00
SwiftyOS 78e92234d6 updated frontend build 2023-11-01 12:28:04 +01:00
Swifty 6a698749e4
Update frontend build (#6068)
Co-authored-by: GitHub Action <action@github.com>
2023-11-01 12:23:47 +01:00
hunteraraujo bc61ea35b5
Update frontend build (#6063)
Co-authored-by: GitHub Action <action@github.com>
2023-10-31 19:49:14 -07:00
hunteraraujo 9021d8392d feat: Add support for temporary chat message
- Added logic to display a temporary chat message while waiting for the response from the agent.
- When a user sends a message, a temporary chat message is created and displayed.
- Implemented a method to remove the temporary chat message when the response is received or in case of an error.
- Updated the UI to invoke the method for adding a temporary chat message when the send button is pressed.

Feedback:
- This change improves the user experience by allowing them to see their own message immediately while waiting for the response from the agent.
2023-10-31 19:39:56 -07:00
hunteraraujo 94d5d94547 Merge branch 'master' of github.com:Significant-Gravitas/Auto-GPT 2023-10-31 17:39:39 -07:00
hunteraraujo 688ba62db7 feat: Add isWaitingForAgentResponse property to TaskViewModel
- Added a boolean property `isWaitingForAgentResponse` to the `TaskViewModel` class to track whether a task is being created and waiting for a response from the agent.
- When a task is being created, we set `isWaitingForAgentResponse` to `true` and notify the listeners.
- When the task creation process is completed (successfully or not), `isWaitingForAgentResponse` is set to `false` and listeners are notified.
- Updated the `ChatView` class to listen to changes in `TaskViewModel.isWaitingForAgentResponse` to show the loading indicator conditionally.
2023-10-31 16:59:36 -07:00
hunteraraujo 09ad60f98d
Update frontend build (#6059)
Co-authored-by: GitHub Action <action@github.com>
2023-10-31 16:37:10 -07:00
hunteraraujo 2f187a853e refactor: Refactor agent message tile rendering logic
- Updated the regular expression pattern to include matching fenced code blocks in addition to headers.
- Set the `dotAll` parameter to `true` to match across multiple lines in the regular expression.
- Wrapped the message container with a `SingleChildScrollView` widget to enable scrolling when the message content exceeds the available space.
- Implemented logic to conditionally render the message as markdown or selectable text based on the value of `hasMarkdown`.
- Modified the `MarkdownStyleSheet` to customize the appearance of blockquotes and code blocks.
- Updated the child widget of the message container to reflect the changes.
2023-10-31 16:33:45 -07:00
hunteraraujo 82434a248c Disable markdown as it causes crash for some responses 2023-10-20 08:07:27 -07:00
hunteraraujo 2187f66149 Show error toast for 5xx error 2023-10-20 00:20:46 -07:00
hunteraraujo 27ff99a9a5 Check for inline code blocks in agent step 2023-10-20 00:15:20 -07:00
hunteraraujo 952f181377 Stop continuous mode when agent returns isLast 2023-10-20 00:13:12 -07:00
hunteraraujo 9219bfba0e add Markdown detection and rendering
- Implement `containsMarkdown` function to identify messages with Markdown
- Utilize `flutter_markdown` package to render detected Markdown content
- Enhance chat UI to conditionally display plain text or formatted Markdown
2023-10-19 22:19:09 -07:00
hunteraraujo 17d93421e7 Add flutter_markdown dependency 2023-10-19 22:13:15 -07:00
hunteraraujo 57bcbdf45c Refactor LeaderboardSubmissionDialog to use SharedPreferencesService 2023-10-10 23:19:35 -07:00
hunteraraujo dbec110bac Refactor ChatInputField to use SharedPreferencesService 2023-10-10 18:39:24 -07:00
hunteraraujo 8245433d7f Refactor TaskViewModel to use SharedPreferencesService 2023-10-10 15:33:52 -07:00
hunteraraujo 8972132eb0 Refactor SettingsViewModel to use SharedPreferencesService 2023-10-10 14:54:33 -07:00
hunteraraujo 0eb476c3fa Refactor TaskService to use SharedPreferencesService 2023-10-10 12:35:34 -07:00
hunteraraujo 860f985e87 Add SharedPreferencesService to dependency injection system 2023-10-10 12:17:37 -07:00
hunteraraujo 9b8094329d Add SharedPreferencesService 2023-10-10 11:12:43 -07:00
hunteraraujo c77ade5b2f Gate test suites from the task view based off isDeveloperModeEnabled flag 2023-10-09 11:30:58 -07:00
hunteraraujo 51ebe2407d Integrate TaskQueueViewModel throughout application 2023-10-08 22:34:52 -07:00
hunteraraujo a7e27d1a64 Remove duplicate functionality from SkillTreeViewModel 2023-10-08 22:33:21 -07:00
hunteraraujo 7e5bdac2a0 Add TaskQueueViewModel for managing benchmark tasks and leaderboard submissions 2023-10-08 22:28:57 -07:00
hunteraraujo b2d53d8d18
Introduce TestOption Enum for Enhanced Test Selection Clarity (#5586) 2023-10-06 16:13:33 -07:00
hunteraraujo 0f2126e6f0
Implement Artifact Class for Enhanced Data Handling (#5585) 2023-10-06 14:55:47 -07:00
hunteraraujo 9e353e09b5
Update frontend build (#5570)
Co-authored-by: GitHub Action <action@github.com>
2023-10-05 23:53:02 -07:00
hunteraraujo bc10845cb5 Include pop ups + change auth flow for github codespace 2023-10-05 23:50:21 -07:00
hunteraraujo f810264c65
Update frontend build (#5569)
Co-authored-by: GitHub Action <action@github.com>
2023-10-05 22:35:25 -07:00
hunteraraujo 5e6b348685
Swap out pop up auth for redirect (#5568) 2023-10-05 22:32:54 -07:00
hunteraraujo 8ae9b75150
Update frontend build (#5567)
Co-authored-by: GitHub Action <action@github.com>
2023-10-05 22:09:58 -07:00
hunteraraujo 35efc897df
Enhanced OAuth 2.0 Implementation with Dynamic Redirect URIs and Popup Authentication (#5566)
* Set custom parameter redirect URI

* Red border

* Blue border
2023-10-05 22:07:32 -07:00
merwanehamadi bcb24c1a58
Fix challenges (#5561)
Fix challenges and CI

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-10-05 10:59:50 -07:00
Swifty 3b7d83a1a6
Update frontend build (#5556) 2023-10-05 09:25:16 -07:00
hunteraraujo 7f89b8aae8
Update frontend build (#5541)
Co-authored-by: GitHub Action <action@github.com>
2023-10-04 11:36:23 -07:00
hunteraraujo f97fc0dd3d
Add GitHub Repository Validation to Leaderboard Submission Dialog (#5539) 2023-10-04 11:32:45 -07:00
hunteraraujo 1bd85cbc09
Update frontend build (#5522)
Co-authored-by: GitHub Action <action@github.com>
2023-10-03 22:41:02 -07:00
hunteraraujo 45c15fc8c6
Enhanced Test Execution Flexibility (#5521)
Refactor UI and Logic for Task Queue and Test Suite Button
2023-10-03 22:34:22 -07:00
hunteraraujo da6311fb1e Fix UI Overlap Issue in TaskQueueView
This commit addresses a UI issue where the ListView items were overlapping with the Positioned widget in the TaskQueueView. The Positioned widget has been replaced with a more flexible layout using a Column widget to ensure proper spacing and positioning of elements on the screen. The ListView now takes up all available space above the buttons, preventing any overlap and enhancing the user experience.
2023-10-03 22:05:21 -07:00
hunteraraujo 6bd3136fe0 Add new stack data structure 2023-10-03 21:56:26 -07:00
hunteraraujo 72c54be164
Update frontend build (#5516)
Co-authored-by: GitHub Action <action@github.com>
2023-10-03 15:08:47 -07:00
hunteraraujo 0d5c2a98c0
Implement Redirect Authentication for Google and GitHub Sign-In (#5515) 2023-10-03 12:51:49 -07:00
Swifty cb1e36d916
Update frontend build (#5396)
Co-authored-by: GitHub Action <action@github.com>
2023-09-29 14:03:31 +02:00
SwiftyOS e71943f83b change the index url for the tutorials 2023-09-29 13:50:18 +02:00
SwiftyOS 2640fc85cf Frontend - Added link to tutorials 2023-09-29 13:36:58 +02:00