Krzysztof Czerwinski
12640f7092
fix(agent, forge): Conform web_search.py to duckduckgo_search v5 ( #7045 )
...
Update `web_search` command for both autogpt and forge to adjust for breaking change in v5 of `duckduckgo_search`
2024-03-25 19:50:26 +01:00
Krzysztof Czerwinski
89cf0154f4
feat(autogpt/forge): Send exception details in agent protocol endpoints ( #7005 )
...
Send exception details in agent protocol endpoints
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co >
2024-03-12 17:39:03 +01:00
Reinier van der Leer
40f98f0f38
chore: Change agbenchmark to directory dependency in autogpt and forge ( #6946 )
...
Poetry recently released v1.8.x containing a fix for the issue we were having earlier:
https://github.com/python-poetry/poetry/issues/8548
This means unavailable optional directory dependencies no longer break the docker build.
2024-02-29 19:17:16 +01:00
Reinier van der Leer
fb63bf4425
chore: Update agbenchmark dependency for agent and forge
2024-02-19 17:11:19 +01:00
Reinier van der Leer
c339c6b54f
chore: Update agbenchmark dependency for agent and forge
2024-02-18 17:37:03 +01:00
Reinier van der Leer
6bc83e925c
chore: Update agbenchmark dependency for agent and forge
2024-02-17 15:56:33 +01:00
Reinier van der Leer
15024fb5a1
chore: Update agbenchmark dependency for agent and forge
2024-02-17 14:18:02 +01:00
Reinier van der Leer
5f0764b65c
chore: Update agbenchmark dependency for agent and forge
2024-02-16 19:07:37 +01:00
Reinier van der Leer
83fcd9ad16
chore: Update agbenchmark dependency for agent and forge
2024-02-16 18:44:58 +01:00
Reinier van der Leer
666a5a8777
feat(agent/serve): Report task cost through Step.additional_output
...
- Added `task_cumulative_cost` and `task_total_cost` attributes to the `Step.additional_output` in the `AgentProtocolServer.execute_step` endpoint.
- Updated `agbenchmark` dependency in Agent and Forge
2024-02-16 18:19:04 +01:00
Reinier van der Leer
992b8874fc
chore: Update agbenchmark dependency for agent and forge
2024-02-16 17:22:58 +01:00
Reinier van der Leer
650a701317
chore: Update agbenchmark dependency for agent and forge
2024-02-15 18:19:06 +01:00
Reinier van der Leer
8762f7ab3d
fix(forge): Make watchfiles pattern more specific to prevent unwanted (breaking) reloads
...
This fixes the issue of changes in artifacts triggering an application reload (which caused connection errors for in-progress requests).
2024-02-15 13:42:38 +01:00
Reinier van der Leer
ab05b7ae70
chore(forge): Update agbenchmark dependency
2024-02-14 01:27:07 +01:00
Reinier van der Leer
6763196d78
chore(forge): Update agbenchmark dependency
2024-02-13 12:44:17 +01:00
Reinier van der Leer
e1da58da02
chore(forge): Update aiohttp, fastapi, and python-multipart dependencies to mitigate vulnerabilities
...
Addressed vulnerabilities:
- python-multipart vulnerable to Content-Type Header ReDoS - https://github.com/Significant-Gravitas/AutoGPT/security/dependabot/56
Dependants:
- FastAPI Content-Type Header ReDoS - https://github.com/Significant-Gravitas/AutoGPT/security/dependabot/52
- Starlette Content-Type Header ReDoS - https://github.com/Significant-Gravitas/AutoGPT/security/dependabot/49
- aiohttp is vulnerable to directory traversal - https://github.com/Significant-Gravitas/AutoGPT/security/dependabot/45
- aiohttp's HTTP parser (the python one, not llhttp) still overly lenient about separators - https://github.com/Significant-Gravitas/AutoGPT/security/dependabot/42
2024-02-13 12:38:36 +01:00
Mahdi Karami
cc73d4104b
fix(forge): incorrect import 'sdk' in .actions.finish ( #6822 )
2024-02-13 11:02:03 +01:00
Fernando Navarro Páez
266fe3a3f7
fix(forge): Fix "no module named 'forge.sdk.abilities'" ( #6571 )
...
Fixes #6537
2024-02-01 11:23:35 +01:00
Reinier van der Leer
b238abac52
feat(forge/db): Add AgentDB.update_artifact method
2024-01-19 11:41:40 +01:00
Reinier van der Leer
39fd1d6be1
lint(forge): black . and isort .
2024-01-16 16:30:37 +01:00
Reinier van der Leer
f0ede64ded
chore(forge): Upgrade OpenAI client lib and LiteLLM from v0 to v1
...
* Update `openai` dependency from `^0.27.8` to `^1.7.2`
* Update `litellm` dependency from `^0.1.821` to `^1.17.9`
* Migrate llm.py from OpenAI module-level client to client instance
* Update return types in llm.py for new OpenAI and LiteLLM versions
* Also remove `Exception` as a return type because they are raised, not returned
* Update tutorials/003_crafting_agent_logic.md accordingly
Note: this changes the output types of the functions in `forge.llm`: `chat_completion_request`, `create_embedding_request`, `transcribe_audio`
2024-01-16 16:14:52 +01:00
Or Arbel
48a2186cf3
fix(forge): cast port to int ( #6643 )
...
When executing `port = os.getenv("PORT", 8000)` if the port is being fetched from a `.env` file it is fetched as a string.
This caused an error: `TypeError: 'str' object cannot be interpreted as an integer`
2024-01-12 11:24:40 +01:00
Himanshu Mittal
b8238c2228
[Documentation Update] Updating Using and Creating Abilities to use Action Annotations ( #6653 )
...
Changing ability documentation
2024-01-02 16:32:18 +01:00
Reinier van der Leer
2e457753d0
chore(forge): Update duckduckgo-search to v4.0.0
...
- v3.x.x of the duckduckgo-search library no longer works, so updating to v4.0.0 unbreaks the search functionality
2023-12-13 15:47:14 +01:00
Reinier van der Leer
f734bdb314
fix(forge): Change task_id parameter on AgentDB.get_task from int to str
...
The `task_id` parameter was incorrectly typed as `int`: the database column is type `String`.
2023-12-08 13:20:20 +01:00
Reinier van der Leer
20cf4cce92
fix(forge): Initialize TaskRequestBody.additional_input as None
...
The `additional_input` field was being initialized as `{}`, which points to the same object for every instance of `TaskRequestBody`.
2023-12-08 12:14:40 +01:00
Reinier van der Leer
8b27f2c47b
fix(forge/db): Fix persistence of Step.additional_input and Step.additional_output
...
- Fixed the persistence issue of additional_input and additional_output in the Step class in `forge.sdk`. The additional_input and additional_output attributes were not typed and initialized properly.
2023-12-08 00:54:38 +01:00
Thomas Runyon
fdd7f8e5f9
Update import path in agent_protocol.py ( #6512 )
...
Update agent_protocol.py
Fixed import location of models
2023-12-07 08:44:07 +01:00
SwiftyOS
2c4184b81e
Forge: Moved memory and llm out of the sdk
2023-12-06 15:34:08 +01:00
SwiftyOS
ccb700d00a
deleted extra files
2023-12-06 15:31:20 +01:00
Swifty
78f5ff17e6
Add GCSWorkspace Implementation to Forge ( #6510 )
...
* Added gcs workspace implementation
* Renamed abilites to actions (#6511 )
* Renamed abilites to actions
* formatting
* schema to model
2023-12-06 15:30:21 +01:00
SwiftyOS
0d91006e0b
removed entering the arena from the getting started tutorial
2023-12-05 18:00:05 +01:00
Reinier van der Leer
809173c3f5
docs: Update AutoGPT workspace location and other minor fixes
...
- Update the `RESTRICT_TO_WORKSPACE` variable in `.env.template` to use the new workspace location
- Update the `.gitignore` files to remove the old workspace directory
- Update the `voice.md` file in the documentation to reflect the new command for speech mode
2023-11-25 16:21:27 +01:00
Balázs Varga
155718aa69
fix(docker build): Changed agbenchmark dependency to git reference ( #6274 )
...
* Fix docker build.
Changing agbenchmark dependency as git reference instead of folder reference.
2023-11-24 17:26:06 +01:00
bsenst
578087ec96
fix typos ( #5608 )
...
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co >
2023-11-07 17:22:05 -06:00
Craig
37a62de458
Fixed typo in registry.py ( #6127 )
2023-11-06 10:22:54 +01: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
SwiftyOS
dae6ee2c47
Removed unfinished tutorials
2023-10-20 14:27:07 +02:00
PaperMoose
d173dd772d
Tutorial improvement ( #5736 )
...
Co-authored-by: Silen Naihin <silen.naihin@gmail.com >
2023-10-17 17:52:33 -07:00
Reinier van der Leer
2fc7c62a36
Fix AutoGPT docker build
2023-10-17 11:48:04 -07:00
Reinier van der Leer
10aececc6a
Fix subproject dependency compatibility
2023-10-17 10:36:05 -07:00
Reinier van der Leer
7f3ca0b76a
Forge: add output fields to DB StepModel ( #5759 )
...
* Forge: add output fields to `StepModel` and `AgentDB.update_step`
* Forge: fix `AgentDB.get_step` parameter types
2023-10-17 10:17:16 -07:00
merwanehamadi
3bd8ae4843
Forge/workshop ( #5654 )
...
* Added basic memory
* Added action history
* Deleted placeholder files
* adding memstore
* Added web search ability
* Added web search and reading web pages
* remove agent.py changes
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
---------
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
Co-authored-by: SwiftyOS <craigswift13@gmail.com >
2023-10-09 08:32:52 -07:00
hunteraraujo
a615eda205
Update incorrect docstring - "uri" to "relative_path"
2023-10-06 13:42:28 -07:00
SwiftyOS
1bebb2f5c0
forge - Added autogpt exceptions
2023-10-05 13:46:56 -07:00
SwiftyOS
e9240d0dd7
forge - Switched to using litellm to support more llms
2023-10-05 13:28:17 -07:00
Swifty
bef8203da2
Added setup command refactored memstore ( #5555 )
...
* forge - restructured memstore
* Stopped setup from being ran as defualt when running an agent
2023-10-05 10:13:59 -07:00
merwanehamadi
2a036894b6
Add pycharm debug to dev dependencies ( #5483 )
2023-10-02 16:03:50 -07:00
merwanehamadi
3291a921ad
Put back reload mode ( #5481 )
...
* Fix benchmark CI
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
* Put back reload mode
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
---------
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
2023-10-02 15:10:56 -07:00
merwanehamadi
e2e74a6a5b
Revert hot reload ( #5476 )
...
* Revert "Hot reload mode (#5475 )"
This reverts commit 846cfc005d .
* Revert changes hot reload
2023-10-02 11:50:04 -07:00