Commit Graph

5229 Commits

Author SHA1 Message Date
Esaias Westberg
095d3191b8 arbetsformedlingen entering the arena (#6094) 2023-11-03 11:04:51 +01:00
momokrunic
9c5fdb03b7 TeslaBot entering the arena (#6099) 2023-11-03 11:01:18 +01:00
a0balaton
04f7ac880f bait entering the arena (#6102) 2023-11-03 11:01:02 +01:00
jianglonghui
7f44946746 happy_guy entering the arena (#6104) 2023-11-03 11:00:38 +01:00
wangyijunlyy
9482187c20 wyjagent entering the arena (#6105) 2023-11-03 11:00:17 +01:00
myncow
1aa8d094dc CONNECTBOT entering the arena (#6058)
Co-authored-by: Armin Hamp <ap_hamp@claris.com>
2023-11-03 10:59:58 +01:00
xiazaiba7
d9ec0ac3ad gpt_for_beans entering the arena (#6088) 2023-11-02 09:24:17 +01: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
Reinier van der Leer
c65b71d51d feat: Re-use Docker container for code execution
- Create a unique container name based on agent ID
- Check if the container with the name exists, otherwise create a new container
- If the container is not running, start it; otherwise, restart it
- Execute the code in the container
- Return the output of the code execution

This change enables reusing the same container for consecutive code execution commands, allowing for iterative changes to the execution environment.

Note: This change also includes handling the case where the Docker image is not found locally by pulling it from Docker Hub. The image used in this case is "python:3-alpine".
2023-10-31 00:03:23 -07:00
hunteraraujo
c3569d1842 Merge branch 'master' of github.com:Significant-Gravitas/Auto-GPT 2023-10-30 16:29:29 -07:00
hunteraraujo
d3c58081ec Update TestAgent.json 2023-10-30 16:29:15 -07:00
Reinier van der Leer
653fc5851d fix: Fix serialization error caused by ignored field in ErrorInfo object
- Change `ErrorInfo` class attribute `_repr` to `repr` for consistent serialization
- Update `__repr__` method to return `self.repr` instead of `self._repr`
2023-10-30 16:10:40 -07:00
Reinier van der Leer
fc1d73ba60 fix: Serialize Exception objects in ActionErrorResult
- Replaced `error` field in `ActionErrorResult` with `ErrorInfo` model.
- Implemented `ErrorInfo` model with necessary fields (`args`, `message`, `exception_type`, `_repr`).
- Added `from_exception` method to `ErrorInfo` model to create an instance from an Exception object.
- Updated `ActionErrorResult.from_exception` method to utilize `ErrorInfo.from_exception`.
- Ensured that `ActionErrorResult` is now fully serializable and won't cause crashes.
- Made necessary changes in code comments and documentation.

This commit fixes crashes caused by attempted serialiation of `AgentException` objects in the `ActionHistory` (as part of `ActionErrorResult`s). To this end, it introduces a new `ErrorInfo` model to encapsulate information about the exception, including the exception type, message, arguments, and representation. The `from_exception` method is added to both `ActionErrorResult` and `ErrorInfo` to create an `ActionErrorResult` object from an exception, extracting the relevant information.
2023-10-30 15:52:56 -07:00
SwiftyOS
d9fbd26b85 fix: Update agent creation logic and error message
- Update the logic for checking if an agent name already exists to be case-insensitive.
- Update the error message when an agent with the same name already exists to specify that the name should be unique regardless of case.
2023-10-30 15:36:14 +01:00
Silen Naihin
2bd05827f9 Merge branch 'master' of https://github.com/Significant-Gravitas/Auto-GPT 2023-10-27 08:17:05 -07:00
Silen Naihin
bbdb113f4e deleting test agent 2023-10-27 08:16:41 -07:00
Merwane Hamadi
5ff3f2dbbb Hackathon CI: use agbenchmark instead of mock 2023-10-27 07:44:02 -07:00
Merwane Hamadi
bd496066dc Hackathon CI: change name of folder 2023-10-27 07:27:43 -07:00
Merwane Hamadi
336e78eca0 Update Hackathon CI 2023-10-27 07:21:29 -07:00
SwiftyOS
4109dca3f7 feat: Add webdriver-manager package
- Added the  package to the project dependencies
- The  package is used to automatically manage drivers for different browsers
2023-10-27 14:35:28 +02:00
Oğuzhan BOZKURT
22ba2459c9 hodri entering the arena (#5985) 2023-10-27 13:49:52 +02:00
seeseesky
f4985395a9 test-tpk entering the arena (#5979) 2023-10-27 12:24:36 +02:00
Jordan Ellis
68edb184cd Update evo-ninja.json (#5966)
Co-authored-by: Swifty <craigswift13@gmail.com>
2023-10-27 12:23:55 +02:00
Luis
6c0575233f Arena submission aware agent (#5965)
Submit
2023-10-27 12:22:47 +02:00
warlockee
026b632f8f autogpt_warlock entering the arena (#5976)
Co-authored-by: erikl <erikl@Eriks-MacBook-Pro.local>
2023-10-27 12:19:11 +02:00
MoWitheSmileyFace
405adee71d Drench entering the arena (#5977) 2023-10-27 12:18:50 +02:00
aixiaoxin
11fbbc6df6 aixiaoxin entering the arena (#5982) 2023-10-27 12:17:30 +02:00
ezirmusitua
52106e8280 WRITER entering the arena (#5984) 2023-10-27 12:17:03 +02:00
JasonD
0f44c9db50 AutoGenius entering the arena (#5972)
Co-authored-by: Dyson <dyson@bituniverse.org>
2023-10-27 12:16:34 +02:00
merwanehamadi
21b809794a Update hackathon.yml (#5975) 2023-10-26 13:47:36 -07:00
Reinier van der Leer
6f66376bb8 AutoGPT: require function call if only 1 function is given 2023-10-26 12:02:15 -07:00
Reinier van der Leer
6678f6bd72 AutoGPT: Fix showing of task input in UI 2023-10-26 11:49:28 -07:00
Merwane Hamadi
5fd82c7f15 Add CI for the hackathon and fix TestAgent.json 2023-10-26 08:27:47 -07:00
illyx1
8f1b9fc670 illynetV2 entering the arena (#5971) 2023-10-26 15:27:41 +02:00
illyx1
0e408053e2 illyx1 entering the arena (#5970) 2023-10-26 15:06:48 +02:00
Howard-Cheung
1a6ca503a5 zczc entering the arena (#5969) 2023-10-26 15:05:37 +02:00
bigfatball
ab2a618335 Add Mary.json (#5875)
Co-authored-by: Anthony <tony@DESKTOP-6SR9O93>
2023-10-26 12:43:36 +02:00
SwiftyOS
19175badee Updated commit hash of entries 2023-10-26 12:29:21 +02:00
SwiftyOS
6c9152a95c Removed variants of testagent to avoid path collision 2023-10-26 11:15:50 +02:00
fraven01
3e366d8de0 TESTAGENT entering the arena (#5884) 2023-10-26 11:06:39 +02:00
xhjxhj001
ebf2ff3ceb ai_assistant entering the arena (#5886) 2023-10-26 11:06:23 +02:00
Ruttanard Ruttanapan
586660d6e0 DE entering the arena (#5963) 2023-10-26 11:05:52 +02:00
EthanF
c481d51c59 research_analyst entering the arena (#5895) 2023-10-26 11:04:55 +02:00