mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-09 06:15:41 -05:00
227806aef910d080c78798d672ed8656bc9439c4
6158 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
227806aef9 |
feat(blocks): Add code execution block (#8768)
- Resolves #8766 Creates a block that executes code in an E2B sandbox. Demo: https://github.com/user-attachments/assets/460382c4-5bf7-4f96-a539-88ab263777de --------- Co-authored-by: Reinier van der Leer <github@pwuts.nl> Co-authored-by: Reinier van der Leer <pwuts@agpt.co> |
||
|
|
0272d87af3 |
ci(backend): Add poetry.lock check (#8885)
- Resolves #8884 We need to prevent breaking updates to dependency version requirements of `autogpt_libs`. `autogpt_libs/pytroject.toml` and `backend/poetry.lock` are loosely coupled, and to ensure they stay in sync we need an extra check. For now I'm also reverting the breaking update of #8787, otherwise this added CI check will immediately fail. ### Changes - ci(backend): Add `poetry.lock` check - Revert "build(deps): bump pydantic from 2.9.2 to 2.10.2 in /autogpt_platform/autogpt_libs in the production-dependencies group across 1 directory (#8787)" |
||
|
|
64f5e60d12 |
feat(blocks): Add webhook block status indicator (#8838)
- Resolves #8743 - Follow-up to #8358 ### Demo https://github.com/user-attachments/assets/f983dfa2-2dc2-4ab0-8373-e768ba17e6f7 ### Changes 🏗️ - feat(frontend): Add webhook status indicator on `CustomNode` - Add `webhookId` to frontend node data model - fix(backend): Fix webhook ping endpoint - Remove `provider` path parameter - Fix return values and error handling - Fix `WebhooksManager.trigger_ping(..)` - Add `credentials` parameter - Fix usage of credentials - Fix `.data.integrations.wait_for_webhook_event(..)` - Add `AsyncRedisEventBus.wait_for_event(..)` - feat(frontend): Add `BackendAPIProvider` + `useBackendAPI` - feat(frontend): Improve layout of node header Before:  After:  - refactor(backend): Clean up `.data.integrations` - refactor(backend): Fix naming in `.data.queue` for understandability ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Add webhook block, save -> gray indicator - [x] Add necessary info to webhook block, save -> green indicator - [x] Remove necessary info, save -> gray indicator --------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
||
|
|
6b742d1a8c |
docs: add docs for writing playwright tests (#8877)
<!-- Clearly explain the need for these changes: --> Nick wants others to be able to write tests besides Nick ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> - Fixes various import errors across the docs to fix dead links - Adds Docs for making and debugging your own tests --------- Co-authored-by: Swifty <craigswift13@gmail.com> |
||
|
|
d4edb9371d |
feat(blocks): Add Slant 3D printing via API service (#8805)
<!-- Clearly explain the need for these changes: --> I want to be able to have agents 3d print things and deliver them to my house! ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> - Adds slant3d as a provider - Adds slant3d order webhook (disabled on the cloud by default due to how it notifies users) - Adds several blocks to order from slant3d - Diables Get Orders (for the same reason as webhook) ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan <details> <summary>Test Plan</summary> - [ ] Add filament block and fill API key - [ ] Run filament block - [ ] Add slice block and use this value: https://files.printables.com/media/prints/1081287/stls/8176524_a9edde2d-68c1-41de-a207-b584fcf42f30_f9127d5b-39ed-4ef8-b59f-d3a0bc874373/rod-holder.stl - [ ] Run slice block - [ ] Add estimate blocks (print and shipping) and use your address, and the above file - [ ] select petg and count 1 - [ ] run the blocks - [ ] Create an order using same information - [ ] Run the block and note the order number - [ ] Delete the create order block so you don't keep ordering stuff - [ ] Run get orders block - [ ] Check your order exists - [ ] Run the cancel order block with the order id - [ ] run the get orders block and check the order no longer exists </details> --------- Co-authored-by: Reinier van der Leer <pwuts@agpt.co> |
||
|
|
89011aabe0 |
feat(frontend): add block tests (#8804)
<!-- Clearly explain the need for these changes: --> We want to be able to automatically test agent running creation and building via the build page ### Changes 🏗️ - updates many UI elements to have new data ids - adds page for build - adds spec for build <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Run the UI Tests! --------- Co-authored-by: Bently <tomnoon9@gmail.com> |
||
|
|
43bd5c89d7 |
fix(frontend): advanced-toggle-default (#8802)
- resolve #8739 I don't think so that this is a frontend issue [might be wrong] , because if we are not classifying that a particular input is `advanced = true/false`. Then we automatically get `advanced = True`. <img width="1142" alt="Screenshot 2024-11-27 at 10 36 59 AM" src="https://github.com/user-attachments/assets/e8d9c037-5b8b-45b2-b40b-8390bc63de99"> |
||
|
|
0a604a5746 |
build(deps-dev): bump ruff from 0.8.0 to 0.8.1 in /autogpt_platform/autogpt_libs in the development-dependencies group (#8864)
Bumps the development-dependencies group in /autogpt_platform/autogpt_libs with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.8.0 to 0.8.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.8.1</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Formatter: Avoid invalid syntax for format-spec with quotes for all Python versions (<a href="https://redirect.github.com/astral-sh/ruff/pull/14625">#14625</a>)</li> <li>Formatter: Consider quotes inside format-specs when choosing the quotes for an f-string (<a href="https://redirect.github.com/astral-sh/ruff/pull/14493">#14493</a>)</li> <li>Formatter: Do not consider f-strings with escaped newlines as multiline (<a href="https://redirect.github.com/astral-sh/ruff/pull/14624">#14624</a>)</li> <li>Formatter: Fix f-string formatting in assignment statement (<a href="https://redirect.github.com/astral-sh/ruff/pull/14454">#14454</a>)</li> <li>Formatter: Fix unnecessary space around power operator (<code>**</code>) in overlong f-string expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/14489">#14489</a>)</li> <li>[<code>airflow</code>] Avoid implicit <code>schedule</code> argument to <code>DAG</code> and <code>@dag</code> (<code>AIR301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14581">#14581</a>)</li> <li>[<code>flake8-builtins</code>] Exempt private built-in modules (<code>A005</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14505">#14505</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>pytest.mark.parametrize</code> rules to check calls instead of decorators (<a href="https://redirect.github.com/astral-sh/ruff/pull/14515">#14515</a>)</li> <li>[<code>flake8-type-checking</code>] Implement <code>runtime-cast-value</code> (<code>TC006</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14511">#14511</a>)</li> <li>[<code>flake8-type-checking</code>] Implement <code>unquoted-type-alias</code> (<code>TC007</code>) and <code>quoted-type-alias</code> (<code>TC008</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12927">#12927</a>)</li> <li>[<code>flake8-use-pathlib</code>] Recommend <code>Path.iterdir()</code> over <code>os.listdir()</code> (<code>PTH208</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14509">#14509</a>)</li> <li>[<code>pylint</code>] Extend <code>invalid-envvar-default</code> to detect <code>os.environ.get</code> (<code>PLW1508</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14512">#14512</a>)</li> <li>[<code>pylint</code>] Implement <code>len-test</code> (<code>PLC1802</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14309">#14309</a>)</li> <li>[<code>refurb</code>] Fix bug where methods defined using lambdas were flagged by <code>FURB118</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14639">#14639</a>)</li> <li>[<code>ruff</code>] Auto-add <code>r</code> prefix when string has no backslashes for <code>unraw-re-pattern</code> (<code>RUF039</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14536">#14536</a>)</li> <li>[<code>ruff</code>] Implement <code>invalid-assert-message-literal-argument</code> (<code>RUF040</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14488">#14488</a>)</li> <li>[<code>ruff</code>] Implement <code>unnecessary-nested-literal</code> (<code>RUF041</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14323">#14323</a>)</li> <li>[<code>ruff</code>] Implement <code>unnecessary-regular-expression</code> (<code>RUF055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14659">#14659</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Ignore more rules for stub files (<a href="https://redirect.github.com/astral-sh/ruff/pull/14541">#14541</a>)</li> <li>[<code>pep8-naming</code>] Eliminate false positives for single-letter names (<code>N811</code>, <code>N814</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14584">#14584</a>)</li> <li>[<code>pyflakes</code>] Avoid false positives in <code>@no_type_check</code> contexts (<code>F821</code>, <code>F722</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14615">#14615</a>)</li> <li>[<code>ruff</code>] Detect redirected-noqa in file-level comments (<code>RUF101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14635">#14635</a>)</li> <li>[<code>ruff</code>] Mark fixes for <code>unsorted-dunder-all</code> and <code>unsorted-dunder-slots</code> as unsafe when there are complex comments in the sequence (<code>RUF022</code>, <code>RUF023</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14560">#14560</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid fixing code to <code>None | None</code> for <code>redundant-none-literal</code> (<code>PYI061</code>) and <code>never-union</code> (<code>RUF020</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14583">#14583</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/14589">#14589</a>)</li> <li>[<code>flake8-bugbear</code>] Fix <code>mutable-contextvar-default</code> to resolve annotated function calls properly (<code>B039</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14532">#14532</a>)</li> <li>[<code>flake8-pyi</code>, <code>ruff</code>] Fix traversal of nested literals and unions (<code>PYI016</code>, <code>PYI051</code>, <code>PYI055</code>, <code>PYI062</code>, <code>RUF041</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14641">#14641</a>)</li> <li>[<code>flake8-pyi</code>] Avoid rewriting invalid type expressions in <code>unnecessary-type-union</code> (<code>PYI055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14660">#14660</a>)</li> <li>[<code>flake8-type-checking</code>] Avoid syntax errors and type checking problem for quoted annotations autofix (<code>TC003</code>, <code>TC006</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14634">#14634</a>)</li> <li>[<code>pylint</code>] Do not wrap function calls in parentheses in the fix for unnecessary-dunder-call (<code>PLC2801</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14601">#14601</a>)</li> <li>[<code>ruff</code>] Handle <code>attrs</code>'s <code>auto_attribs</code> correctly (<code>RUF009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14520">#14520</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/Daverball"><code>@Daverball</code></a></li> <li><a href="https://github.com/Glyphack"><code>@Glyphack</code></a></li> <li><a href="https://github.com/InSyncWithFoo"><code>@InSyncWithFoo</code></a></li> <li><a href="https://github.com/Lokejoke"><code>@Lokejoke</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/cake-monotone"><code>@cake-monotone</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.8.1</h2> <h3>Preview features</h3> <ul> <li>Formatter: Avoid invalid syntax for format-spec with quotes for all Python versions (<a href="https://redirect.github.com/astral-sh/ruff/pull/14625">#14625</a>)</li> <li>Formatter: Consider quotes inside format-specs when choosing the quotes for an f-string (<a href="https://redirect.github.com/astral-sh/ruff/pull/14493">#14493</a>)</li> <li>Formatter: Do not consider f-strings with escaped newlines as multiline (<a href="https://redirect.github.com/astral-sh/ruff/pull/14624">#14624</a>)</li> <li>Formatter: Fix f-string formatting in assignment statement (<a href="https://redirect.github.com/astral-sh/ruff/pull/14454">#14454</a>)</li> <li>Formatter: Fix unnecessary space around power operator (<code>**</code>) in overlong f-string expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/14489">#14489</a>)</li> <li>[<code>airflow</code>] Avoid implicit <code>schedule</code> argument to <code>DAG</code> and <code>@dag</code> (<code>AIR301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14581">#14581</a>)</li> <li>[<code>flake8-builtins</code>] Exempt private built-in modules (<code>A005</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14505">#14505</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>pytest.mark.parametrize</code> rules to check calls instead of decorators (<a href="https://redirect.github.com/astral-sh/ruff/pull/14515">#14515</a>)</li> <li>[<code>flake8-type-checking</code>] Implement <code>runtime-cast-value</code> (<code>TC006</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14511">#14511</a>)</li> <li>[<code>flake8-type-checking</code>] Implement <code>unquoted-type-alias</code> (<code>TC007</code>) and <code>quoted-type-alias</code> (<code>TC008</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12927">#12927</a>)</li> <li>[<code>flake8-use-pathlib</code>] Recommend <code>Path.iterdir()</code> over <code>os.listdir()</code> (<code>PTH208</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14509">#14509</a>)</li> <li>[<code>pylint</code>] Extend <code>invalid-envvar-default</code> to detect <code>os.environ.get</code> (<code>PLW1508</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14512">#14512</a>)</li> <li>[<code>pylint</code>] Implement <code>len-test</code> (<code>PLC1802</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14309">#14309</a>)</li> <li>[<code>refurb</code>] Fix bug where methods defined using lambdas were flagged by <code>FURB118</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14639">#14639</a>)</li> <li>[<code>ruff</code>] Auto-add <code>r</code> prefix when string has no backslashes for <code>unraw-re-pattern</code> (<code>RUF039</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14536">#14536</a>)</li> <li>[<code>ruff</code>] Implement <code>invalid-assert-message-literal-argument</code> (<code>RUF040</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14488">#14488</a>)</li> <li>[<code>ruff</code>] Implement <code>unnecessary-nested-literal</code> (<code>RUF041</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14323">#14323</a>)</li> <li>[<code>ruff</code>] Implement <code>unnecessary-regular-expression</code> (<code>RUF055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14659">#14659</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Ignore more rules for stub files (<a href="https://redirect.github.com/astral-sh/ruff/pull/14541">#14541</a>)</li> <li>[<code>pep8-naming</code>] Eliminate false positives for single-letter names (<code>N811</code>, <code>N814</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14584">#14584</a>)</li> <li>[<code>pyflakes</code>] Avoid false positives in <code>@no_type_check</code> contexts (<code>F821</code>, <code>F722</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14615">#14615</a>)</li> <li>[<code>ruff</code>] Detect redirected-noqa in file-level comments (<code>RUF101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14635">#14635</a>)</li> <li>[<code>ruff</code>] Mark fixes for <code>unsorted-dunder-all</code> and <code>unsorted-dunder-slots</code> as unsafe when there are complex comments in the sequence (<code>RUF022</code>, <code>RUF023</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14560">#14560</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid fixing code to <code>None | None</code> for <code>redundant-none-literal</code> (<code>PYI061</code>) and <code>never-union</code> (<code>RUF020</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14583">#14583</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/14589">#14589</a>)</li> <li>[<code>flake8-bugbear</code>] Fix <code>mutable-contextvar-default</code> to resolve annotated function calls properly (<code>B039</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14532">#14532</a>)</li> <li>[<code>flake8-pyi</code>, <code>ruff</code>] Fix traversal of nested literals and unions (<code>PYI016</code>, <code>PYI051</code>, <code>PYI055</code>, <code>PYI062</code>, <code>RUF041</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14641">#14641</a>)</li> <li>[<code>flake8-pyi</code>] Avoid rewriting invalid type expressions in <code>unnecessary-type-union</code> (<code>PYI055</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14660">#14660</a>)</li> <li>[<code>flake8-type-checking</code>] Avoid syntax errors and type checking problem for quoted annotations autofix (<code>TC003</code>, <code>TC006</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14634">#14634</a>)</li> <li>[<code>pylint</code>] Do not wrap function calls in parentheses in the fix for unnecessary-dunder-call (<code>PLC2801</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14601">#14601</a>)</li> <li>[<code>ruff</code>] Handle <code>attrs</code>'s <code>auto_attribs</code> correctly (<code>RUF009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14520">#14520</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
5ccfb8e4c6 |
dx(backend): Fix linting & formatting for autogpt_libs (#8860)
- Resolves #8859 - Follow-up to #8751 ### Changes - Add `autogpt_libs` to the backend CI path filter - Add `ruff format` step for `autogpt_libs` to `linter.py` and `pre-commit` config - Run `poetry run format` with the new setup |
||
|
|
96bba3c1bd |
fix: specify encoding for file with emoji in it so it loads on windows (#8873)
<!-- Clearly explain the need for these changes: --> On windows this file load kept crashing stuff on startup so I specified the encoding ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] Run the app! |
||
|
|
de1cd6c295 |
chore(blocks/fal): Use dict instead of Dict (#8855)
Replace Dict with dict ### Changes 🏗️ Replace Dict with dict ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
3bca279b35 |
feat(libs): Add API key rate limit middleware (#8850)
Once we release api key feature, we will want to be able to rate limit as well. This is the foundation for that. For now it is a blanket rate limit, later we will be able to add tiered rate limits ### Changes 🏗️ Added new middleware libary in autogpt_libs which contains the logic for getting the api key, storing it's details in redis and checking how many requests it's done, how many are left and what the reset time is. --------- Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> Co-authored-by: Reinier van der Leer <pwuts@agpt.co> |
||
|
|
7c2e371f23 |
docs: huntr no longer is offering a security bounty so remove it (#8872)
<!-- Clearly explain the need for these changes: -->
Huntr isn't offering a security bounty for autogpt at the moment so
remove it in favor of github security adviosories
### Changes 🏗️
<!-- Concisely describe all of the changes made in this pull request:
-->
comments out huntr line in case they decide to offer it again in the
future
|
||
|
|
dce9bdd488 |
Add URL swapping for marketplace based on environment (#8418)
### Fixes #8371 These changes are needed to automatically switch between local and production marketplace URLs, ensuring the app connects to the correct environment (dev or prod) without manual intervention. ### Changes 🏗️ 1. Swaps marketplace URL based on APP_ENV (dev or prod). 2. Ensures correct URL is used for local or production environments. Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> |
||
|
|
30bb9a3d72 |
dx: Fix dependabot PR/commit titles (#8841)
Dependabot's commit messages are bulky and don't use our commit message scopes. Although not fully customizable, this partially fixes it. ### Changes 🏗️ - Fix dependabot commit message scopes Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
758edaec9e |
Adding Docs for Agent Blocks (#8845)
### Changes 🏗️ Adding docs for Agent Blocks Co-authored-by: Bently <tomnoon9@gmail.com> |
||
|
|
be7f9123bb |
feat(blocks): Add jina fact checker block (#8409)
Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> |
||
|
|
5c49fc87fd |
refactor(backend): Apply lint on autogpt_lib folder on backend/linter.py (#8751)
linter.py, only applies in the `backend` module, not `autogpt_libs`. The scope of this PR is to clear this out. ### Changes 🏗️ * Add a linting scope to both the `backend` & `autogpt_libs` modules, and apply the linter. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> --------- Co-authored-by: Reinier van der Leer <pwuts@agpt.co> |
||
|
|
2121ffd06b | chore(platform): Bump version to v0.3.4 autogpt-platform-beta-v0.3.4 | ||
|
|
0c2940353f | hotfix(backend): Fix month credit calculation on December (#8851) | ||
|
|
d26105d382 |
hotfix(backend): Fix month credit calculation on December (#8851)
When calculating the next month, we are not rolling the month number causing an error on credits. ### Changes 🏗️ Add modulo while calculating next month. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
7d48eebc78 |
build(deps): bump pydantic from 2.9.2 to 2.10.2 in /autogpt_platform/autogpt_libs in the production-dependencies group across 1 directory (#8787)
Bumps the production-dependencies group with 1 update in the /autogpt_platform/autogpt_libs directory: [pydantic](https://github.com/pydantic/pydantic). Updates `pydantic` from 2.9.2 to 2.10.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h2>v2.10.2 2024-11-26</h2> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Only evaluate <code>FieldInfo</code> annotations if required during schema building by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10769">#10769</a></li> <li>Do not evaluate annotations for private fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10962">#10962</a></li> <li>Support serialization as any for <code>Secret</code> types and <code>Url</code> types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10947">#10947</a></li> <li>Fix type hint of <code>Field.default</code> to be compatible with Python 3.8 and 3.9 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10972">#10972</a></li> <li>Add hashing support for URL types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10975">#10975</a></li> <li>Hide <code>BaseModel.__replace__</code> definition from type checkers by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10979">10979</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2">https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2</a></p> <h2>v2.10.1 2024-11-21</h2> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Bump <code>pydantic-core</code> version to <code>v2.27.1</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10938">#10938</a></li> </ul> <h3>Fixes</h3> <ul> <li>Use the correct frame when instantiating a parametrized <code>TypeAdapter</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10893">#10893</a></li> <li>Relax check for validated data in <code>default_factory</code> utils by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10909">#10909</a></li> <li>Fix type checking issue with <code>model_fields</code> and <code>model_computed_fields</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10911">#10911</a></li> <li>Use the parent configuration during schema generation for stdlib <code>dataclass</code>es by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10928">#10928</a></li> <li>Use the <code>globals</code> of the function when evaluating the return type of serializers and <code>computed_field</code>s by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10929">#10929</a></li> <li>Fix URL constraint application by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10922">#10922</a></li> <li>Fix URL equality with different validation methods by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10934">#10934</a></li> <li>Fix JSON schema title when specified as <code>''</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10936">#10936</a></li> <li>Fix <code>python</code> mode serialization for <code>complex</code> inference by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1549">pydantic-core#1549</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.0...v2.10.1">https://github.com/pydantic/pydantic/compare/v2.10.0...v2.10.1</a></p> <h2>v2.10.0 2024-11-20</h2> <p>The code released in v2.10.0 is practically identical to that of v2.10.0b2. See the <a href="https://pydantic.dev/articles/pydantic-v2-10-release">v2.10 release blog post</a> for the highlights!</p> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Bump <code>pydantic-core</code> to <code>v2.27.0</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10825">#10825</a></li> <li>Replaced pdm with uv by <a href="https://github.com/frfahim"><code>@frfahim</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10727">#10727</a></li> </ul> <h3>New Features</h3> <ul> <li>Support <code>fractions.Fraction</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10318">#10318</a></li> <li>Support <code>Hashable</code> for json validation by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10324">#10324</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's changelog</a>.</em></p> <blockquote> <h2>v2.10.2 (2024-11-25)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.2">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Only evaluate FieldInfo annotations if required during schema building by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10769">#10769</a></li> <li>Do not evaluate annotations for private fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10962">#10962</a></li> <li>Support serialization as any for <code>Secret</code> types and <code>Url</code> types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10947">#10947</a></li> <li>Fix type hint of <code>Field.default</code> to be compatible with Python 3.8 and 3.9 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10972">#10972</a></li> <li>Add hashing support for URL types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10975">#10975</a></li> <li>Hide <code>BaseModel.__replace__</code> definition from type checkers by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10979">10979</a></li> </ul> <h2>v2.10.1 (2024-11-21)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.1">GitHub release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> version to <code>v2.27.1</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10938">#10938</a></li> </ul> <h4>Fixes</h4> <ul> <li>Use the correct frame when instantiating a parametrized <code>TypeAdapter</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10893">#10893</a></li> <li>Relax check for validated data in <code>default_factory</code> utils by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10909">#10909</a></li> <li>Fix type checking issue with <code>model_fields</code> and <code>model_computed_fields</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10911">#10911</a></li> <li>Use the parent configuration during schema generation for stdlib <code>dataclass</code>es by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10928">#10928</a></li> <li>Use the <code>globals</code> of the function when evaluating the return type of serializers and <code>computed_field</code>s by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10929">#10929</a></li> <li>Fix URL constraint application by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10922">#10922</a></li> <li>Fix URL equality with different validation methods by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10934">#10934</a></li> <li>Fix JSON schema title when specified as <code>''</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/10936">#10936</a></li> <li>Fix <code>python</code> mode serialization for <code>complex</code> inference by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1549">pydantic-core#1549</a></li> </ul> <h3>New Contributors</h3> <h2>v2.10.0 (2024-11-20)</h2> <p>The code released in v2.10.0 is practically identical to that of v2.10.0b2.</p> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.0">GitHub release</a></p> <p>See the <a href="https://pydantic.dev/articles/pydantic-v2-10-release">v2.10 release blog post</a> for the highlights!</p> <h3>What's Changed</h3> <h4>Packaging</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
c6b36fbad7 |
build(deps): bump the production-dependencies group in /autogpt_platform/market with 2 updates (#8757)
Bumps the production-dependencies group in /autogpt_platform/market with 2 updates: [uvicorn](https://github.com/encode/uvicorn) and [sentry-sdk](https://github.com/getsentry/sentry-python). Updates `uvicorn` from 0.32.0 to 0.32.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/encode/uvicorn/releases">uvicorn's releases</a>.</em></p> <blockquote> <h2>Version 0.32.1</h2> <h2>What's Changed</h2> <ul> <li>Enable httptools lenient data by <a href="https://github.com/vvanglro"><code>@vvanglro</code></a> in <a href="https://redirect.github.com/encode/uvicorn/pull/2488">encode/uvicorn#2488</a></li> <li>Drop ASGI spec version to 2.3 on HTTP scope by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://redirect.github.com/encode/uvicorn/pull/2513">encode/uvicorn#2513</a></li> </ul> <hr /> <p><strong>Full Changelog</strong>: <a href="https://github.com/encode/uvicorn/compare/0.32.0...0.32.1">https://github.com/encode/uvicorn/compare/0.32.0...0.32.1</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md">uvicorn's changelog</a>.</em></p> <blockquote> <h2>0.32.1 (2024-11-20)</h2> <h3>Fixed</h3> <ul> <li>Drop ASGI spec version to 2.3 on HTTP scope <a href="https://redirect.github.com/encode/uvicorn/pull/2513">#2513</a></li> <li>Enable httptools lenient data on <code>httptools >= 0.6.3</code> <a href="https://redirect.github.com/encode/uvicorn/pull/2488">#2488</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
4aa5f53710 |
feat(block): Add AI video generator block with Fal txt 2 vid (#8528)
### Background Implements an AI Video Generator Block for text to image models hosted on Fal  --------- Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> Co-authored-by: Aarushi <aarushik93@gmail.com> |
||
|
|
75f9b072a6 |
refactor(backend): Rename & move IntegrationCredentialsStore to backend (#8648)
- Move `autogpt_libs.supabase_integration_credentials_store` into `backend` - `.store` -> `backend.integrations.credentials_store` - `.types` -> added to `backend.data.model` - Rename `SupabaseIntegrationCredentialsStore` to `IntegrationCredentialsStore` We wanted to get a few security things in quickly in #8403 and had to make some compromises to do so. This picks those up and fixes them. - Resolves #8540 ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> --------- Co-authored-by: Reinier van der Leer <pwuts@agpt.co> Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> |
||
|
|
63af42dafb |
fix(backend): Fix conn_retry decorator possible incorrect behaviour on failed async function (#8836)
This fix is triggered by an error observed on db connection failure on
SupaBase:
```
2024-11-28 07:45:24,724 INFO [DatabaseManager] Starting...
2024-11-28 07:45:24,726 INFO [PID-18|DatabaseManager|Prisma-7f32369c-6432-4edb-8e71-ef820332b9e4] Acquiring connection started...
2024-11-28 07:45:24,726 INFO [PID-18|DatabaseManager|Prisma-7f32369c-6432-4edb-8e71-ef820332b9e4] Acquiring connection completed successfully.
{"is_panic":false,"message":"Can't reach database server at `...pooler.supabase.com:5432`\n\nPlease make sure your database server is running at `....pooler.supabase.com:5432`.","meta":{"database_host":"...pooler.supabase.com","database_port":5432},"error_code":"P1001"}
2024-11-28 07:45:35,153 INFO [PID-18|DatabaseManager|Prisma-7f32369c-6432-4edb-8e71-ef820332b9e4] Acquiring connection failed: Could not connect to the query engine. Retrying now...
2024-11-28 07:45:36,155 INFO [PID-18|DatabaseManager|Redis-e14a33de-2d81-4536-b48b-a8aa4b1f4766] Acquiring connection started...
2024-11-28 07:45:36,181 INFO [PID-18|DatabaseManager|Redis-e14a33de-2d81-4536-b48b-a8aa4b1f4766] Acquiring connection completed successfully.
2024-11-28 07:45:36,183 INFO [PID-18|DatabaseManager|Pyro-2722cd29-4dbd-4cf9-882f-73842658599d] Starting Pyro Service started...
2024-11-28 07:45:36,189 INFO [DatabaseManager] Connected to Pyro; URI = PYRO:DatabaseManager@0.0.0.0:8005
2024-11-28 07:46:28,241 ERROR Error in get_user_integrations: All connection attempts failed
```
Where even
```
2024-11-28 07:45:35,153 INFO [PID-18|DatabaseManager|Prisma-7f32369c-6432-4edb-8e71-ef820332b9e4] Acquiring connection failed: Could not connect to the query engine. Retrying now...
```
is present, the Redis connection is still proceeding without waiting for
the retry to complete. This was likely caused by Tenacity not fully
awaiting the DB connection acquisition command.
### Changes 🏗️
* Add special handling for the async function to explicitly await the
function execution result on each retry.
* Explicitly raise exceptions on `db.connect()` if the db is not
connected even after `prisma.connect()` command.
### Checklist 📋
#### For code changes:
- [ ] I have clearly listed my changes in the PR description
- [ ] I have made a test plan
- [ ] I have tested my changes according to the test plan:
<!-- Put your test plan here: -->
- [ ] ...
<details>
<summary>Example test plan</summary>
- [ ] Create from scratch and execute an agent with at least 3 blocks
- [ ] Import an agent from file upload, and confirm it executes
correctly
- [ ] Upload agent to marketplace
- [ ] Import an agent from marketplace and confirm it executes correctly
- [ ] Edit an agent from monitor, and confirm it executes correctly
</details>
#### For configuration changes:
- [ ] `.env.example` is updated or already compatible with my changes
- [ ] `docker-compose.yml` is updated or already compatible with my
changes
- [ ] I have included a list of my configuration changes in the PR
description (under **Changes**)
<details>
<summary>Examples of configuration changes</summary>
- Changing ports
- Adding new services that need to communicate with each other
- Secrets or environment variable changes
- New or infrastructure changes such as databases
</details>
|
||
|
|
29f177e70d |
feat(blocks): Add Hubspot blocks (#8786)
This PR adds the first few Hubspot blocks so we can create _real_ sales and marketing agents. ### Changes 🏗️ Added Hubspot blocks; - Aded auth for hubspot - Added Company block - Added Contact block - Added Engagement block ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
eeb5b4aa46 |
fix(backend): Fix credentials cost filter not able to filter the block cost (#8837)
We've started enabling cost based on the *partial value* of the `credentials` field. And this logic has never been supported. ### Changes 🏗️ * Add partial object matching on the input data filter for evaluating the block cost. * Add missing credentials for `ExtractWebsiteContentBlock` * Removed fallback cost on LLM blocks. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
520b1d7940 |
feat(frontend): Make Block description searchable on Block list palette (#8839)
Blocks should be easy to search, the name is sometimes not straightforward, but the description does. <img width="576" alt="image" src="https://github.com/user-attachments/assets/0528b019-0ebc-4e6f-8a3c-40323a671b13"> ### Changes 🏗️ Make the block description searchable. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> |
||
|
|
f8b00e55d0 | Merge branch 'dev' of github.com:Significant-Gravitas/AutoGPT into dev | ||
|
|
4b8087c067 |
feat(platform/featureflags): Setting up feature flagging (#8718)
* feature flag formatting and linting * add tests * update poetry lock * remove unneeded changes * fix pyproject * fix formatting and linting * pydantic settings * address comments and format * alphabetize * fix lockfile * fix conflicts |
||
|
|
d2f3f53f57 |
fix(frontend): Fix missing credentials input when no credentials available (#8834)
Fixes breakage from
|
||
|
|
ab3643388f |
ci: Fix workflow status checker script to work with merge_group runs
|
||
|
|
845c8c51e5 |
ci: Add merge_group trigger to status checker
|
||
|
|
118fdeeb1d |
ci: Add merge_group triggers
|
||
|
|
97d00455ef |
chore(backend): Update 12 dependencies (#8763)
* build(deps): bump the production-dependencies group across 1 directory with 12 updates Bumps the production-dependencies group with 12 updates in the /autogpt_platform/backend directory: | Package | From | To | | --- | --- | --- | | [aio-pika](https://github.com/mosquito/aio-pika) | `9.4.3` | `9.5.0` | | [apscheduler](https://github.com/agronholm/apscheduler) | `3.10.4` | `3.11.0` | | [fastapi](https://github.com/fastapi/fastapi) | `0.115.4` | `0.115.5` | | [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.151.0` | `2.154.0` | | [groq](https://github.com/groq/groq-python) | `0.11.0` | `0.12.0` | | [ollama](https://github.com/ollama/ollama-python) | `0.3.3` | `0.4.1` | | [openai](https://github.com/openai/openai-python) | `1.54.3` | `1.55.1` | | [pydantic](https://github.com/pydantic/pydantic) | `2.9.2` | `2.10.1` | | [sentry-sdk](https://github.com/getsentry/sentry-python) | `2.18.0` | `2.19.0` | | [uvicorn](https://github.com/encode/uvicorn) | `0.32.0` | `0.32.1` | | [replicate](https://github.com/replicate/replicate-python) | `1.0.3` | `1.0.4` | | [pinecone](https://github.com/pinecone-io/pinecone-python-client) | `5.3.1` | `5.4.0` | Updates `aio-pika` from 9.4.3 to 9.5.0 - [Release notes](https://github.com/mosquito/aio-pika/releases) - [Changelog](https://github.com/mosquito/aio-pika/blob/master/CHANGELOG.md) - [Commits](https://github.com/mosquito/aio-pika/compare/9.4.3...9.5.0) Updates `apscheduler` from 3.10.4 to 3.11.0 - [Release notes](https://github.com/agronholm/apscheduler/releases) - [Changelog](https://github.com/agronholm/apscheduler/blob/3.11.0/docs/versionhistory.rst) - [Commits](https://github.com/agronholm/apscheduler/compare/3.10.4...3.11.0) Updates `fastapi` from 0.115.4 to 0.115.5 - [Release notes](https://github.com/fastapi/fastapi/releases) - [Commits](https://github.com/fastapi/fastapi/compare/0.115.4...0.115.5) Updates `google-api-python-client` from 2.151.0 to 2.154.0 - [Release notes](https://github.com/googleapis/google-api-python-client/releases) - [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.151.0...v2.154.0) Updates `groq` from 0.11.0 to 0.12.0 - [Release notes](https://github.com/groq/groq-python/releases) - [Changelog](https://github.com/groq/groq-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/groq/groq-python/compare/v0.11.0...v0.12.0) Updates `ollama` from 0.3.3 to 0.4.1 - [Release notes](https://github.com/ollama/ollama-python/releases) - [Commits](https://github.com/ollama/ollama-python/compare/v0.3.3...v0.4.1) Updates `openai` from 1.54.3 to 1.55.1 - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v1.54.3...v1.55.1) Updates `pydantic` from 2.9.2 to 2.10.1 - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v2.9.2...v2.10.1) Updates `sentry-sdk` from 2.18.0 to 2.19.0 - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/2.18.0...2.19.0) Updates `uvicorn` from 0.32.0 to 0.32.1 - [Release notes](https://github.com/encode/uvicorn/releases) - [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md) - [Commits](https://github.com/encode/uvicorn/compare/0.32.0...0.32.1) Updates `replicate` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/replicate/replicate-python/releases) - [Commits](https://github.com/replicate/replicate-python/compare/1.0.3...1.0.4) Updates `pinecone` from 5.3.1 to 5.4.0 - [Release notes](https://github.com/pinecone-io/pinecone-python-client/releases) - [Changelog](https://github.com/pinecone-io/pinecone-python-client/blob/main/CHANGELOG.md) - [Commits](https://github.com/pinecone-io/pinecone-python-client/compare/v5.3.1...v5.4.0) --- updated-dependencies: - dependency-name: aio-pika dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: apscheduler dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: fastapi dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: google-api-python-client dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: groq dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: ollama dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: openai dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: uvicorn dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: replicate dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: pinecone dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * Downgrade pydantic & pinecode --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
ae9bd87161 | fix(backend): Spin-up Database manager on rest.py (#8832) | ||
|
|
a556995d1f |
chore(frontend): Update 5 dependencies (#8755)
build(deps): bump the production-dependencies group Bumps the production-dependencies group in /autogpt_platform/frontend with 5 updates: | Package | From | To | | --- | --- | --- | | [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) | `8.38.0` | `8.40.0` | | [cookie](https://github.com/jshttp/cookie) | `1.0.1` | `1.0.2` | | [react-day-picker](https://github.com/gpbl/react-day-picker) | `9.3.2` | `9.4.0` | | [react-shepherd](https://github.com/shepherd-pro/shepherd) | `6.1.4` | `6.1.6` | | [tailwind-merge](https://github.com/dcastil/tailwind-merge) | `2.5.4` | `2.5.5` | Updates `@sentry/nextjs` from 8.38.0 to 8.40.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/8.38.0...8.40.0) Updates `cookie` from 1.0.1 to 1.0.2 - [Release notes](https://github.com/jshttp/cookie/releases) - [Commits](https://github.com/jshttp/cookie/compare/v1.0.1...v1.0.2) Updates `react-day-picker` from 9.3.2 to 9.4.0 - [Release notes](https://github.com/gpbl/react-day-picker/releases) - [Changelog](https://github.com/gpbl/react-day-picker/blob/main/CHANGELOG.md) - [Commits](https://github.com/gpbl/react-day-picker/compare/v9.3.2...v9.4.0) Updates `react-shepherd` from 6.1.4 to 6.1.6 - [Release notes](https://github.com/shepherd-pro/shepherd/releases) - [Changelog](https://github.com/shipshapecode/shepherd/blob/main/CHANGELOG.md) - [Commits](https://github.com/shepherd-pro/shepherd/commits) Updates `tailwind-merge` from 2.5.4 to 2.5.5 - [Release notes](https://github.com/dcastil/tailwind-merge/releases) - [Commits](https://github.com/dcastil/tailwind-merge/compare/v2.5.4...v2.5.5) --- updated-dependencies: - dependency-name: "@sentry/nextjs" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: cookie dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: react-day-picker dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: react-shepherd dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: tailwind-merge dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> |
||
|
|
fd6c1d9f4f |
feat(blocks): Various block QoL improvements (#8749)
Co-authored-by: Reinier van der Leer <pwuts@agpt.co> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> Resolves #8357 Resolves #8738 |
||
|
|
14cc21a843 |
chore(frontend): Update 14 dev dependencies (#8756)
build(deps-dev): bump the development-dependencies group across 1 directory with 16 updates Bumps the development-dependencies group with 14 updates in the /autogpt_platform/frontend directory: | Package | From | To | | --- | --- | --- | | [@playwright/test](https://github.com/microsoft/playwright) | `1.48.2` | `1.49.0` | | [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials) | `8.4.2` | `8.4.5` | | [@storybook/addon-interactions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/interactions) | `8.4.2` | `8.4.5` | | [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links) | `8.4.2` | `8.4.5` | | [@storybook/addon-onboarding](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/onboarding) | `8.4.2` | `8.4.5` | | [@storybook/blocks](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/blocks) | `8.4.2` | `8.4.5` | | [@storybook/nextjs](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/nextjs) | `8.4.2` | `8.4.5` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.0` | `22.9.3` | | [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook) | `0.11.0` | `0.11.1` | | [postcss](https://github.com/postcss/postcss) | `8.4.48` | `8.4.49` | | [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) | `0.6.8` | `0.6.9` | | [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) | `8.4.2` | `8.4.5` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.14` | `3.4.15` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.7.2` | Updates `@playwright/test` from 1.48.2 to 1.49.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.48.2...v1.49.0) Updates `@storybook/addon-essentials` from 8.4.2 to 8.4.5 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.4.5/code/addons/essentials) Updates `@storybook/addon-interactions` from 8.4.2 to 8.4.5 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.4.5/code/addons/interactions) Updates `@storybook/addon-links` from 8.4.2 to 8.4.5 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.4.5/code/addons/links) Updates `@storybook/addon-onboarding` from 8.4.2 to 8.4.5 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.4.5/code/addons/onboarding) Updates `@storybook/blocks` from 8.4.2 to 8.4.5 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.4.5/code/lib/blocks) Updates `@storybook/nextjs` from 8.4.2 to 8.4.5 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.4.5/code/frameworks/nextjs) Updates `@storybook/react` from 8.4.2 to 8.4.5 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.4.5/code/renderers/react) Updates `@storybook/test` from 8.4.2 to 8.4.5 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.4.5/code/lib/test) Updates `@types/node` from 22.9.0 to 22.9.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-storybook` from 0.11.0 to 0.11.1 - [Release notes](https://github.com/storybookjs/eslint-plugin-storybook/releases) - [Changelog](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/CHANGELOG.md) - [Commits](https://github.com/storybookjs/eslint-plugin-storybook/compare/v0.11.0...v0.11.1) Updates `postcss` from 8.4.48 to 8.4.49 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.48...8.4.49) Updates `prettier-plugin-tailwindcss` from 0.6.8 to 0.6.9 - [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.8...v0.6.9) Updates `storybook` from 8.4.2 to 8.4.5 - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.4.5/code/lib/cli) Updates `tailwindcss` from 3.4.14 to 3.4.15 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.15/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.14...v3.4.15) Updates `typescript` from 5.6.3 to 5.7.2 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.7.2) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: "@storybook/addon-essentials" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@storybook/addon-interactions" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@storybook/addon-links" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@storybook/addon-onboarding" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@storybook/blocks" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@storybook/nextjs" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@storybook/react" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@storybook/test" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: eslint-plugin-storybook dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: prettier-plugin-tailwindcss dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: storybook dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: tailwindcss dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> |
||
|
|
772baff6db |
build(deps): bump docker/build-push-action from 2 to 6 (#8465)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v2...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
||
|
|
5dd151b41e | feat(tests): add baseline utility for integration testing from frontend ui (#8765) | ||
|
|
86fbbae65c | fix(frontend): Add text length limit when displaying Graph & Block name with different length in different places (#8746) | ||
|
|
6bfe7ff497 | fix(frontend): Add integer type definition for node handles (#8803) | ||
|
|
effd1e35a3 |
chore(libs): Update dev dependency Ruff from 0.7.4 to 0.8.0 (#8760)
build(deps-dev): bump ruff Bumps the development-dependencies group in /autogpt_platform/autogpt_libs with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.7.4 to 0.8.0 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.7.4...0.8.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
4aae15d769 |
feat(blocks): Add Word Character Count Block (#8781)
* Adds Word Character Count Block Co-Authored-By: SerchioSD <69461657+serchiosd@users.noreply.github.com> * update test_output --------- Co-authored-by: SerchioSD <69461657+serchiosd@users.noreply.github.com> |
||
|
|
f62fa3e1e3 |
updated URL on README.md (#8767)
* docs(backend): Add `--build` to docker command in Getting Started guide (#8762) * updated URL on README.md --------- Co-authored-by: Reinier van der Leer <pwuts@agpt.co> |
||
|
|
708ed9a91c |
fix(platform): handle None value in issue body when fetching GitHub issues (#8773)
Co-authored-by: Reinier van der Leer <pwuts@agpt.co> |
||
|
|
951948d239 |
fix(platform): allowing condition block to compare 2 strings (#8771)
Co-authored-by: Reinier van der Leer <pwuts@agpt.co> Co-authored-by: Bently <tomnoon9@gmail.com> |
||
|
|
f1414550f9 |
refactor(platform): Combine per-provider credentials API calls (#8772)
- Add `/integrations/credentials` endpoint which lists all credentials for the authenticated user - Amend credential fetching logic in front end to fetch all at once instead of per provider - Resolves #8770 - Resolves (hopefully) #8613 |