Commit Graph

4531 Commits

Author SHA1 Message Date
hunteraraujo
803e3f6ef9 Fix various splash radius for icon buttons 2023-08-25 08:12:35 -07:00
hunteraraujo
c08165c66a Align chat tiles to top of chat view 2023-08-25 08:04:34 -07:00
Swifty
62a8c7ae04 Updating to version v0.4 of the Protocol (#21) 2023-08-25 16:03:16 +02:00
dmoham1476
3d322b791f Update __init__.py to support image_gen commands (#5137)
Update __init__.py

Enabling image_gen commands to support IMAGE_PROVIDER in the .env.
2023-08-25 15:04:59 +02:00
Danna
24e2fb2e35 Fix elevenLabs config error (#5131)
* Fix elevenlabs config

---------

Co-authored-by: Reinier van der Leer <reinier.vanderleer@agpt.co>
2023-08-25 14:37:39 +02:00
Auto-GPT-Bot
6593b9cda7 Add combined charts - 20230825083805 2023-08-25 08:38:05 +00:00
Auto-GPT-Bot
883db39d5f mini-agi-20230825083627 2023-08-25 08:36:28 +00:00
Auto-GPT-Bot
05059e4c80 PolyGPT-20230825083307 2023-08-25 08:33:08 +00:00
Auto-GPT-Bot
ca6bb9b9b6 Turbo-20230825083134 2023-08-25 08:31:35 +00:00
Auto-GPT-Bot
97f1ae34c2 beebot-20230825082516 2023-08-25 08:25:17 +00:00
Auto-GPT-Bot
b3109037ff Auto-GPT-20230825082314 2023-08-25 08:23:15 +00:00
Auto-GPT-Bot
2f1eef53ff BabyAGI-20230825081855 2023-08-25 08:18:56 +00:00
Auto-GPT-Bot
85369a117c gpt-engineer-20230825081655 2023-08-25 08:16:56 +00:00
Auto-GPT-Bot
09ce160dfb smol-developer-20230825081512 2023-08-25 08:15:12 +00:00
hunteraraujo
b312b1d481 Fix copy button background color 2023-08-24 21:53:35 -07:00
hunteraraujo
2ca75159e3 Include send icon in text field 2023-08-24 21:51:18 -07:00
hunteraraujo
9f8c93ebb0 Update main_layout.dart + main.dart to integrate ChatView 2023-08-24 21:43:02 -07:00
hunteraraujo
0fb67241c5 Implement ChatView with Agent and User Message Tiles
This commit introduces the ChatView widget, a central component of the application that manages the chat interface. It's responsible for displaying both agent and user messages and includes the following features:

- Fetching chats for a specific task upon initialization.
- A reverse ListView to display chats with the most recent messages at the bottom.
- Dynamic rendering of UserMessageTile and AgentMessageTile widgets based on message type.
- Integration with the ChatInputField for inputting user messages.
- Placeholder logic for handling send action, to be implemented later.

This implementation lays the groundwork for a fully functional chat interface within the application, allowing for a seamless interaction between users and agents.
2023-08-24 21:41:53 -07:00
hunteraraujo
33c900b73f Add AgentMessageTile Widget with Tests
This commit introduces the AgentMessageTile widget, a core component of the chat interface. The widget is designed to display agent messages, including a collapsible section for displaying a pretty-printed JSON code snippet.

The following features have been implemented:
- Rendering of agent title, message text, and expand/collapse button.
- Expandable section for displaying a JSON code snippet, complete with copy functionality.
- A minimum height constraint to ensure consistent appearance.
- Widget tests to validate rendering and interaction behavior.

These enhancements contribute to the overall chat functionality, providing a clear and interactive display of agent messages.
2023-08-24 21:17:11 -07:00
hunteraraujo
ddfbd1b9f8 Implement UserMessageTile Widget and Tests
This commit introduces the UserMessageTile widget, designed to display user messages in the chat interface. The widget includes the following features:
- Proper alignment based on available screen width
- A predefined minimum height with flexible expansion for longer messages
- Styling including a white background, thin black border, and small corner radius

Alongside the widget, this commit also includes comprehensive widget tests to ensure the correct rendering and functionality of the UserMessageTile. The tests cover:
- Rendering without errors
- Displaying the correct user message
- Showing the "User" title as expected

These implementations improve the structure and readability of the user messages within the chat view, ensuring a consistent and user-friendly experience.
2023-08-24 20:59:47 -07:00
hunteraraujo
05ce744f8c Add JsonCodeSnippetView to Display and Copy Pretty-Printed JSON
This commit introduces the JsonCodeSnippetView, a widget designed to display JSON data in a pretty-printed format. Users can view the JSON content with proper indentation and formatting, enhancing readability.

Features:
- The JSON data is displayed using the HighlightView with GitHub-themed syntax highlighting.
- A copy button (IconButton) is provided to allow users to easily copy the pretty-printed JSON to the clipboard.
- Padding and layout adjustments ensure that the view fits seamlessly within the designated space, with scrollable content if the JSON exceeds the available space.

This widget enhances the user experience when interacting with JSON data, providing a clean and efficient way to view and copy content.
2023-08-24 20:52:11 -07:00
Reinier van der Leer
f6e9565d1f Merge branch 'master' into action-history 2023-08-25 03:18:29 +02:00
merwanehamadi
16cbf5dc2a Fix tests (#20) 2023-08-24 18:07:49 -07:00
Auto-GPT-Bot
e2724c1108 Update cassette submodule 2023-08-25 00:26:21 +00:00
Reinier van der Leer
c6e7d21364 Fix type error in ApiManager 2023-08-25 02:21:02 +02:00
Reinier van der Leer
621355884e Optimize prompt components for browse_website and rename it read_webpage 2023-08-25 02:19:27 +02:00
Reinier van der Leer
249226c1e4 Disable close_context_item when context is empty 2023-08-25 02:16:13 +02:00
Reinier van der Leer
3c48c4a2d6 Disable bytecode generation for python execution commands 2023-08-25 02:15:38 +02:00
Reinier van der Leer
1f3db55ee8 Improve command result printing to console 2023-08-25 02:13:52 +02:00
Reinier van der Leer
69f43edfee Integrate ActionHistory into Agent + BaseAgent 2023-08-25 02:09:38 +02:00
Reinier van der Leer
7285f7dad3 Fix formatting of plugin commands in PromptGenerator 2023-08-25 01:09:53 +02:00
Auto-GPT-Bot
e153ae23a3 Update cassette submodule 2023-08-24 21:31:42 +00:00
Reinier van der Leer
2c07e8a4d9 Improve open_file description 2023-08-24 23:11:20 +02:00
Reinier van der Leer
c31bccc1da Fix PromptGenerator for plugin use 2023-08-24 23:05:21 +02:00
Auto-GPT-Bot
f4bc24aedf Update cassette submodule 2023-08-24 20:22:09 +00:00
Alex
3be38790a0 fix(docker): add gcc installation in order to build psutil (#5059) 2023-08-24 22:16:19 +02:00
Reinier van der Leer
1b618fd5d7 Fix mypy config 2023-08-24 22:15:22 +02:00
hunteraraujo
d7b6d1e49a Implement and Test Chat Input Field Widget
This commit introduces the ChatInputField widget, a custom text input field designed for use within the ChatView. The ChatInputField widget handles varying screen sizes and gracefully resizes itself according to the available width. It starts with a height of 50 and can expand up to 400 as the user types more lines of text.

In addition to the implementation, this commit also includes widget tests to ensure the ChatInputField behaves as expected.

- Add ChatInputField widget with dynamic resizing
- Include IconButton for sending messages
- Add widget tests for ChatInputField
- Handle edge cases and overflows
2023-08-24 11:55:05 -07:00
Swifty
5db1a93257 Updating to version v0.4 of the Protocol (#18) 2023-08-24 17:50:06 +02:00
Reinier van der Leer
f871688a3f Unbreak cassettes 2023-08-24 17:45:42 +02:00
Reinier van der Leer
efe9278693 Fix some more broken tests 2023-08-24 17:35:50 +02:00
Reinier van der Leer
055bbc10d4 Disable ask_user for testing or benchmarking runs 2023-08-24 16:20:35 +02:00
Reinier van der Leer
4bcb39dc14 Fix logging setup for testing 2023-08-24 16:09:25 +02:00
Fluder-Paradyne
2176e1179a Fix for TestWrite6Files and TestWrite5FilesWithArray (#328)
Co-authored-by: Silen Naihin <silen.naihin@gmail.com>
2023-08-24 09:14:03 -04:00
Reinier van der Leer
bcd00b39b7 Refine prompt to reduce unnecessary browsing and open_file use 2023-08-24 15:13:40 +02:00
Reinier van der Leer
714f0fc676 Fix logging output in benchmark 2023-08-24 15:12:28 +02:00
Auto-GPT-Bot
0e369c045f Add combined charts - 20230824084801 2023-08-24 08:48:01 +00:00
Auto-GPT-Bot
172b22ab6a beebot-20230824084619 2023-08-24 08:46:20 +00:00
Auto-GPT-Bot
9dcbe072aa Turbo-20230824083617 2023-08-24 08:36:18 +00:00
Auto-GPT-Bot
1df351e1ba Auto-GPT-20230824083451 2023-08-24 08:34:51 +00:00