forked from Significant-Gravitas/AutoGPT
239 Commits (pwuts/open-2088-implement-new-agent-runs-page)
Author | SHA1 | Message | Date |
---|---|---|---|
|
ddac69e0f1
|
feat: swap context menu for dropdown to fix three dots doing nothing (#9091)
<!-- Clearly explain the need for these changes: --> ### Changes 🏗️ swaps context menu for dropdown menu <!-- Concisely describe all of the changes made in this pull request: --> ### 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> |
|
|
1fb9c8c37f
|
fix(store): Display error toast messaging on creator popup (#9078)
When the agent submission was filled out incorrectly, there was no error pop up. It just did nothing. ### Changes 🏗️ Created an array to track which fields are missing If this array is not empty, a toast is displayed to show which fields are missing. ### 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: Swifty <craigswift13@gmail.com> |
|
|
71310a1b49
|
fix(frontend): Make clickable area bigger (#9080)
The clickable area on the navbar was very small and the icons were not clickable ### Changes 🏗️ Wrap the icons as well in Link ### 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: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
8e634d7bc3
|
feat(store): Generate AI images for store submissions (#9090)
Allow generating ai images for store submissions |
|
|
d028f5bd39
|
fix(store): "Publish an Agent" flow has a missing default image (#9089)
Introduced when making sure initialData was inferred from the agent object. This has been fixed now |
|
|
ca91754bc6
|
fix(store): Make username case insensitive (#9088)
Username was case sensitive, made username case insensitive |
|
|
8ca80e05a9
|
fix(frontend): Disable agent save button when saving or running (#9077)
Now agent can be saved multiple times. ### Changes 🏗️ Disable agent save button when saving or running. ### 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> |
|
|
4f15da99f9
|
feat(frontend) Remove "credentials" from export & import of agents (#9081)
### Changes 🏗️ This is for [Credential ID Exports into Agent JSON #8919 ](https://github.com/Significant-Gravitas/AutoGPT/issues/8919) I have added a new function ``removeCredentials`` into [``utils.ts``](https://github.com/Significant-Gravitas/AutoGPT/compare/dev...bently/open-2153-credential-id-exports-into-agent-json?expand=1#diff-db26a69e6fb7546dc621634f3c8ee6efa3639e72e02837f753af18b2fdddf7be) which will go through and look for any "credentials" that are in the JSON during a agent export, this will then remove them and let the user download the file. I have also added the same function to the importing of agents for old agents that where exported that still contain the credentials, this means that old agents can be imported with out breaking/causing issues. When I say it looks for credentials I dont mean actual credentials like api keys them self, in the JSON that is exported it contains the following, this needs removing ``` "credentials": { "id": "6767232a-3407-4c34-85a3-6887d4969f0c", "title": "Anthropic Toran", "provider": "anthropic", "type": "api_key" }, ``` If there is a better way to go about this let me know! |
|
|
54dddbf488
|
feat(store): Auto-populate the agent submission form (#9074)
### Changes 🏗️ - added description to my agents response - auto populate the publish agent info form https://github.com/user-attachments/assets/68cd5d33-0f67-4875-80e9-5a7115b847e7 |
|
|
356aee1b72
|
fix(store): Marketplace - "Integrations" link in Settings is a 404 (#9073)
I copied the original integrations page into ``/store/(users)/integrations`` and did some slight tweaks and I updated the url path from ``/integrations`` to ``/store/integrations`` in ``Sidebar.tsx`` so the button to the integrations page works now This also replaces https://github.com/Significant-Gravitas/AutoGPT/pull/9072 https://github.com/user-attachments/assets/e1ff6fd6-e47a-49b6-82d5-e6fc55eb07b5 |
|
|
ed7c9378eb
|
fix(store): Marketplace - Navbar should say "Marketplace" rather than "Agent Store" (#9069)
Fixes #9067 ### Changes 🏗️ - Renamed elements from Agent Store to Marketplace |
|
|
aaf4ee524d
|
fix(store): Youtube link not showing video on agent page (#9068)
Fixes #9054 ## Changes - add the video link to the start of the images array |
|
|
234e4a35c4 | fix(store): Profile updating is handled in an insecure and potentially broken way | |
|
4646de463a
|
fix(store): Uploading to store selects two agents (#9065)
Fixes #9059 ### Changes 🏗️ - Changed agent selection from keying on agent name to keying on agent id |
|
|
9d4ba1ea0f
|
crude first draft of Agent Runs page (EOD) | |
|
b1d869aad2
|
feat(frontend): Disable theme toggle (#9062)
### Changes 🏗️
This disables the theme toggle for now, I did not remove it incase we
plan to properly add it back in the future
|
|
|
746f3d4e41
|
feat(platform): Support manually setting up webhooks (#8750)
- Resolves #8748 The webhooks system as is works really well for full blown enterprise webhooks managed via a UI. It does not work for more "chill guy" webhook tools that just send notifications sometimes. ## Changes 🏗️ - feat(blocks): Add Compass transcription trigger block - feat(backend): Amend webhooks system to support manual-set-up webhooks - Make event filter input optional on webhook-triggered nodes - Make credentials optional on webhook-triggered nodes - Add code path to re-use existing manual webhook on graph update - Add `ManualWebhookManagerBase` - feat(frontend): Add UI to pass webhook URL to user on manual-set-up webhook blocks  - fix(backend): Strip webhook info from node objects for graph export - refactor(backend): Rename `backend.integrations.webhooks.base` to `._base` --------- Co-authored-by: Reinier van der Leer <pwuts@agpt.co> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
|
|
abc53572cf
|
Add `AgentRunSummaryCard` + `AgentRunStatusChip` | |
|
e8dd0a297e
|
feat(frontend): Updates to navbar (#9047)
### Changes 🏗️ Updates to navbar and button sizes, added autogpt icon The navbar now matches the design and resolves [Markeplace - Reduce the size of the top menu bar, change the font size & the height of the bar to 64px #8953](https://github.com/Significant-Gravitas/AutoGPT/issues/8953)    |
|
|
9d93704264
|
feat(platform): Add basic library functionality (#9043)
Add functionality to allow users to add agents to their library from the store page. |
|
|
6ec2bacb72
|
refactor(frontend): Update Supabase and backend API management (#9036)
Currently there are random issues (logout, auth desync) and inconveniences with how Supabase and backend API works. Resolves: - https://github.com/Significant-Gravitas/AutoGPT/issues/9006 - https://github.com/Significant-Gravitas/AutoGPT/issues/8912 ### Changes 🏗️ This PR streamlines how the Supabase and backend API is used to fix current errors with auth, remove unnecessary code and make it easier to use Supabase and backend API. - Add `getServerSupabase` for server side that returns `SupabaseClient`. - Add `Spinner` component that is used for loading animation. - Remove redundant `useUser`, user is fetched in `useSupabase` already. - Replace most Supabase `create*Client` to `getSupabaseServer` and `useSupabase`. - Remove redundant `AutoGPTServerAPI` class and rename `BaseAutoGPTServerAPI` to `BackendAPI` and use it instead. - Remove `SupabaseProvider` context; supabase caches internally what's possible already. - Move `useSupabase` hook to its own file and update it. ### Helpful table | Next.js usage | Server | Client | |---|---|---| | API | `new BackendAPI();` | `new BackendAPI();`* or `useBackendAPI()` | | Supabase | `getServerSupabase();` | `useSupabase();` | | user, user.role | `getServerUser();`** | `useSupabase();` | \* `BackendAPI` automatically chooses correct Supabase client, so while it's recommended to use `useBackendAPI()`, it's ok to use `new BackendAPI();` in client components and even memoize it: `useMemo(() => new BackendAPI(), [])`. ** The reason user isn't returned in `getServerSupabase` is because it forces async fetch but creating supabase doesn't, so it'd force `getServerSupabase` to be async or return `{ supabase: SupabaseClient, user: Promise<User> | null }`. For the same reason `useSupabase` provides access to `supabase` immediately but `user` *may* be loading, so there's `isUserLoading` provided as well. ### 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: Aarushi <50577581+aarushik93@users.noreply.github.com> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
95bd268de8
|
feat(frontend): search results updates (#9024)
This PR covers all of these issues below related to the search bar section - [Marketplace - search results - change margins between chips and section title #8980](https://github.com/Significant-Gravitas/AutoGPT/issues/8980) - [Marketplace - search results - #8981 ](https://github.com/Significant-Gravitas/AutoGPT/issues/8981) - [Marketplace - search results - search box reduce height to 60px #8977](https://github.com/Significant-Gravitas/AutoGPT/issues/8977) - [Marketplace - search results - increase margins between filter chips and search box #8978](https://github.com/Significant-Gravitas/AutoGPT/issues/8978) - [Marketplace - search results - change line height #8979](https://github.com/Significant-Gravitas/AutoGPT/issues/8979) --------- Co-authored-by: Swifty <craigswift13@gmail.com> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
0e10e62bfa
|
feat(frontend): Reset password page (#8987)
Currently, users have no way to reset their password. ### Changes 🏗️ Add `reset_password` page that displays either form to send reset password email or lets logged in user change their password. Login page now shows clickable "Forgot your password?" link. After updating password user is logged out and redirected to login page. Note: Link provided in the email just logs user in and redirects to reset password form but password update isn't enforced. <img width="279" alt="Screenshot 2024-12-14 at 1 28 39 PM" src="https://github.com/user-attachments/assets/c7ada10c-74e5-4be3-8033-0912eb5b38f2" /> ### 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] Email is sent - [x] Link in the email logs user in and redirects to reset password form - [x] Reset password form works <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> |
|
|
41be88f0bf | Update dependencies | |
|
53eda98737
|
build(deps-dev): bump the development-dependencies group across 1 directory with 3 updates (#9017)
Bumps the development-dependencies group with 3 updates in the /autogpt_platform/frontend directory: [@storybook/test-runner](https://github.com/storybookjs/test-runner), [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) and [msw](https://github.com/mswjs/msw). Updates `@storybook/test-runner` from 0.19.1 to 0.20.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/storybookjs/test-runner/releases"><code>@storybook/test-runner</code>'s releases</a>.</em></p> <blockquote> <h2>v0.20.1</h2> <h4>🐛 Bug Fix</h4> <ul> <li>Release 0.20.1 <a href="https://redirect.github.com/storybookjs/test-runner/pull/520">#520</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> <li>Fix postVisit hook issue <a href="https://redirect.github.com/storybookjs/test-runner/pull/519">#519</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 1</h4> <ul> <li>Yann Braga (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h2>v0.20.0</h2> <h3>Release Notes</h3> <h4>Refactor: Align with Storybook 8.2 core package layout</h4> <p>This is a structural change that shouldn't really affect you. As long as you have the <code>storybook</code> dependency in your app (which you should), you're good! This change makes it so that the test-runner deduplicates Storybook dependencies, and therefore, slims down your node_modules size.</p> <h4>Feature: Run postVisit on failures (<a href="https://redirect.github.com/storybookjs/test-runner/pull/494">#494</a>)</h4> <p>The test-runner's postVisit hook now runs even if there are failures. This allows you to, for instance, take snapshots on component failures. You can check whether the test has failed via the <code>hasFailure</code> property in the context passed to the hook:</p> <pre lang="ts"><code>const config: TestRunnerConfig = { async postVisit(_page, context) { if(context.hasFailure) { console.log('problems!') // do a snapshot, write a log, or anything you like } }, } </code></pre> <hr /> <h4>🚀 Enhancement</h4> <ul> <li>Feature: Run postVisit on failures <a href="https://redirect.github.com/storybookjs/test-runner/pull/494">#494</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> <li>Align with Storybook 8.2 core package layout <a href="https://redirect.github.com/storybookjs/test-runner/pull/512">#512</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>📝 Documentation</h4> <ul> <li>Fix tags docs <a href="https://redirect.github.com/storybookjs/test-runner/pull/497">#497</a> (<a href="https://github.com/shilman"><code>@shilman</code></a> <a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 6</h4> <ul> <li>Michael Shilman (<a href="https://github.com/shilman"><code>@shilman</code></a>)</li> <li>Yann Braga (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h2>v0.20.0-next.2</h2> <h3>Release Notes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/storybookjs/test-runner/blob/v0.20.1/CHANGELOG.md"><code>@storybook/test-runner</code>'s changelog</a>.</em></p> <blockquote> <h1>v0.20.1 (Mon Dec 02 2024)</h1> <h4>🐛 Bug Fix</h4> <ul> <li>Release 0.20.1 <a href="https://redirect.github.com/storybookjs/test-runner/pull/520">#520</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> <li>Fix postVisit hook issue <a href="https://redirect.github.com/storybookjs/test-runner/pull/519">#519</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 1</h4> <ul> <li>Yann Braga (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <hr /> <h1>v0.20.0 (Thu Nov 28 2024)</h1> <h3>Release Notes</h3> <h4>Feature: Run postVisit on failures (<a href="https://redirect.github.com/storybookjs/test-runner/pull/494">#494</a>)</h4> <p>The test-runner's postVisit hook now runs even if there are failures. This allows you to, for instance, take snapshots on component failures. You can check whether the test has failed via the <code>hasFailure</code> property in the context passed to the hook:</p> <pre lang="ts"><code>const config: TestRunnerConfig = { async postVisit(_page, context) { if(context.hasFailure) { console.log('problems!') // do a snapshot, write a log, or anything you like } }, } </code></pre> <hr /> <h4>🚀 Enhancement</h4> <ul> <li>Release 0.20.0 <a href="https://redirect.github.com/storybookjs/test-runner/pull/518">#518</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a> <a href="https://github.com/shilman"><code>@shilman</code></a>)</li> <li>Feature: Run postVisit on failures <a href="https://redirect.github.com/storybookjs/test-runner/pull/494">#494</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> <li>Release 0.20.0 <a href="https://redirect.github.com/storybookjs/test-runner/pull/514">#514</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a> <a href="mailto:runner@fv-az773-358.an51pne1gm2ejjnmkprpigk40g.dx.internal.cloudapp.net">runner@fv-az773-358.an51pne1gm2ejjnmkprpigk40g.dx.internal.cloudapp.net</a>)</li> <li>Align with Storybook 8.2 core package layout <a href="https://redirect.github.com/storybookjs/test-runner/pull/512">#512</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>📝 Documentation</h4> <ul> <li>Fix tags docs <a href="https://redirect.github.com/storybookjs/test-runner/pull/497">#497</a> (<a href="https://github.com/shilman"><code>@shilman</code></a> <a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 6</h4> <ul> <li>Michael Shilman (<a href="https://github.com/shilman"><code>@shilman</code></a>)</li> <li>shilman (<a href="mailto:runner@fv-az1567-4.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net">runner@fv-az1567-4.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net</a>)</li> <li>shilman (<a href="mailto:runner@fv-az2031-358.rag0t2s20xiu3oejmeweyzhkrf.bx.internal.cloudapp.net">runner@fv-az2031-358.rag0t2s20xiu3oejmeweyzhkrf.bx.internal.cloudapp.net</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
|
|
abd245cb2b
|
test(frontend): additional build page automation tooling (#8951)
The tutorial was a bit harder than we expected to completely automate. Along the way though, we made these functions so lets keep em in for future use <!-- Clearly explain the need for these changes: --> ### Changes 🏗️ - Adds a few more functions for the build automation pages <!-- 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 - [ ] I have tested my changes according to the test plan: Writing tests |
|
|
cd339b0ffc
|
feat(frontend) : Add optional input support for object, array, multi-select, and select as well. (#8982)
- Resolve #8976 > Once you have checked whether this is working or not, then I will remove the optional field block. ### Changes - Updated `NodeGenericInputField` to handle additional input types: - Added support for `array` and `object` optional types. - Enhanced schema definitions for `string` optional type to include enumerations ### Testing 🔍 - Verified that the new input types function correctly within the frontend component. <img width="517" alt="Screenshot 2024-12-13 at 7 08 22 PM" src="https://github.com/user-attachments/assets/1e4b7c58-2ddc-4082-8a9e-2e11b91495e2" /> --------- Co-authored-by: Swifty <craigswift13@gmail.com> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
569222e9cd
|
feat(blocks): Add `depends_on` support for input fields (#8852)
- Resolves part of #8731 ### Changes - Added `depends_on` parameter to SchemaField in `model.py` to specify field dependencies. - Updated `useAgentGraph` hook to validate input fields based on their dependencies, ensuring required fields are set when dependent fields are filled. - Modified `BlockIOSubSchemaMeta` to include `depends_on` as an optional property. https://github.com/user-attachments/assets/64fd47b3-34dc-48fa-ad90-1c9c5cd4c4a3 --------- Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
2fe6eb1df1
|
feat(blocks): Add support for mutually exclusive input fields (#8856)
- resolves part of #8731 ### Changes - Introduced `mutually_exclusive` parameter in `SchemaField` to manage input exclusivity. - Implemented logic in `NodeGenericInputField` to disable inputs based on mutual exclusivity. - Updated related components to support the new `disabled` state for inputs. - Enhanced `BlockIOSubSchemaMeta` to include `mutually_exclusive` property. > Currently, I’m disabling the input from the same group (I haven’t added any frontend validation to prevent users from bypassing it). https://github.com/user-attachments/assets/71fb9fe4-943b-4724-8acb-6aed2232ed6b --------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
f588b69484
|
fix: merge issues from store -> dev (#9016)
<!-- Clearly explain the need for these changes: --> Monitor page is broken for me ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> - Updates monitor page to what was in dev before store pr went in - Updates graph getting endpoint to handle invalid graphs a bit more graceful ### 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] Test to make sure I can start and view my monitor page |
|
|
be6d8cbd18
|
fix(platform): Restored monitor page and monitor spec code. (#8992)
## Changes 🏗️
• Restored monitor page and monitor spec functionality.
• Disabled failing tests to allow for smoother CI/CD processes.
|
|
|
2de5e3dd83
|
feat(platform): Agent Store V2 (#8874)
# 🌎 Overview AutoGPT Store Version 2 expands on the Pre-Store by enhancing agent discovery, providing richer content presentation, and introducing new user engagement features. The focus is on creating a visually appealing and interactive marketplace that allows users to explore and evaluate agents through images, videos, and detailed descriptions. ### Vision To create a visually compelling and interactive open-source marketplace for autonomous AI agents, where users can easily discover, evaluate, and interact with agents through media-rich listings, ratings, and version history. ### Objectives 📊 Incorporate visuals (icons, images, videos) into agent listings. ⭐ Introduce a rating system and agent run count. 🔄 Provide version history and update logs from creators. 🔍 Improve user experience with advanced search and filtering features. ### Changes 🏗️ <!-- Concisely describe all of the changes made in this pull request: --> ### 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: Bently <tomnoon9@gmail.com> Co-authored-by: Aarushi <aarushik93@gmail.com> |
|
|
e3cf605e9b
|
feat(frontend): Disallow webhook+input or webhook+webhook in the same graph (#8861)
- Resolves #8853 Disallow combining webhook block with another webhook or input block, because we can't run those. Our current approach to validating the input for a graph's starting nodes prohibits such cases. Demo: https://github.com/user-attachments/assets/ac098765-bb5f-4218-8cd4-ad992b1b8cda ### 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] Add a webhook-triggered block -> can't add another, also can't add an input block - [x] Add an input block -> can't add a webhook-triggered block --------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
b16bf42fa3
|
feat(frontend): Update and fix tutorial (#8943)
This is to fix [Tutorial highlight causes bottom buttons to move up #8942](https://github.com/Significant-Gravitas/AutoGPT/issues/8942) ### Changes 🏗️ Updates the tutorial to add a short delay before moving onto the next step which prevents the UI from lifting up in a weird way (skip to 14 seconds in the video below to see this being fixed) Updates to some of the positioning of the steps Video to show latest run through whole tutorial https://github.com/user-attachments/assets/4cf09a2f-8ed2-45bd-9909-aa92540af845 |
|
|
b8a3ffc04a
|
fix(frontend) : Optional number input (#8940)
- Resolve #8928 Currently, the frontend renders a string input for an optional integer. I have now corrected it.  |
|
|
6490b4e188
|
chore(platform):Refactor GraphExecution naming clash and remove unused Graph Execution functions (#8939)
This is a follow-up of https://github.com/Significant-Gravitas/AutoGPT/pull/8752 There are several APIs and functions related to graph execution that are unused now. There is also confusion about the name of `GraphExecution` that exists in graph.py & execution.py. ### Changes 🏗️ * Renamed `GraphExecution` in `execution.py` to `GraphExecutionEntry`, this is only used as a queue entry for execution. * Removed unused `get_graph_execution` & `list_executions` in `execution.py`. * Removed `with_run` option on `get_graph` function in `graph.py`. * Removed `GraphMetaWithRuns` * Removed exposed functions only for testing. * Removed `executions` fields in Graph model. ### 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: Krzysztof Czerwinski <34861343+kcze@users.noreply.github.com> |
|
|
7a9115db18
|
fix(frontend): Make pins smaller and fix hover area and highlight for input pins (#8941)
Recently pins were made slightly bigger and misaligned needlessly. The problem in the linked issue was to fix connection area, not make them bigger. - https://github.com/Significant-Gravitas/AutoGPT/issues/8913 ### Changes 🏗️ - Revert pins size to smaller - Fix hover area and highlight for input pins ### 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] Connect, reconnect, remove connection - [x] Tutorial works <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> |
|
|
6307ca1841
|
feat(platform): Include all agent versions in Runs in Monitor (#8752)
The graph version is bumped on each save. While the agent version is changed, the past execution history is gone because the monitor page only shows the latest version's execution history. ### Changes 🏗️ - Add `get_executions` on the backend that returns all executions of all graphs for a user - Display all executions (for all versions) for graphs in Monitor - Rename ts mirror type `ExecutionMeta` to `GraphExecution` for consistency with the backend - Remove redundant `FlowRun` type on the frontend and use `GraphExecution` instead - Round execution duration text in Monitor to one decimal place ### 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: Zamil Majdy <zamil.majdy@agpt.co> |
|
|
79c0c314e2
|
feat(frontend): Add field extraction handle for block with object output (#8900)
This addresses https://github.com/Significant-Gravitas/AutoGPT/issues/8741 We have quite a few blocks with (object) outputs. The only way to really use these is to use a "Find In Dictionary" block to pick out that property. If the structure of the output object is known, we should expose the properties of the object directly as sub-outputs. This will make a huge difference in UX and make using these blocks much much easier. ### Changes 🏗️ Recursively flatten object fields into output node handles <img width="637" alt="image" src="https://github.com/user-attachments/assets/dac1f691-9866-4bb7-96b7-20fa6ddbb616"> <img width="773" alt="image" src="https://github.com/user-attachments/assets/f8e7f97c-b245-40bd-b84f-2c044f5f9e23"> ### 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: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
a7a526e820
|
build(deps): bump the production-dependencies group in /autogpt_platform/frontend with 12 updates (#8925)
Bumps the production-dependencies group in /autogpt_platform/frontend with 12 updates: | Package | From | To | | --- | --- | --- | | [@faker-js/faker](https://github.com/faker-js/faker) | `9.2.0` | `9.3.0` | | [@next/third-parties](https://github.com/vercel/next.js/tree/HEAD/packages/third-parties) | `15.0.3` | `15.0.4` | | [@supabase/supabase-js](https://github.com/supabase/supabase-js) | `2.46.1` | `2.47.3` | | [@xyflow/react](https://github.com/xyflow/xyflow/tree/HEAD/packages/react) | `12.3.5` | `12.3.6` | | [class-variance-authority](https://github.com/joe-bell/cva) | `0.7.0` | `0.7.1` | | [dotenv](https://github.com/motdotla/dotenv) | `16.4.5` | `16.4.7` | | [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `0.462.0` | `0.468.0` | | [next-themes](https://github.com/pacocoursey/next-themes) | `0.4.3` | `0.4.4` | | [react-day-picker](https://github.com/gpbl/react-day-picker) | `9.4.0` | `9.4.2` | | [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.53.2` | `7.54.0` | | [react-icons](https://github.com/react-icons/react-icons) | `5.3.0` | `5.4.0` | | [recharts](https://github.com/recharts/recharts) | `2.13.3` | `2.14.1` | Updates `@faker-js/faker` from 9.2.0 to 9.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/faker-js/faker/releases"><code>@faker-js/faker</code>'s releases</a>.</em></p> <blockquote> <h2>v9.3.0</h2> <h2>What's Changed</h2> <ul> <li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3246">faker-js/faker#3246</a></li> <li>infra: show eslint progress by <a href="https://github.com/Shinigami92"><code>@Shinigami92</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3172">faker-js/faker#3172</a></li> <li>infra(unicorn): prefer-string-slice by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3247">faker-js/faker#3247</a></li> <li>infra: name eslint config groups for inspection by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3249">faker-js/faker#3249</a></li> <li>infra(ci): prepare CI for GitHub merge queues by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3245">faker-js/faker#3245</a></li> <li>fix(internet): ensure domainWord always returns a valid value in all locales by <a href="https://github.com/matthewmayer"><code>@matthewmayer</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3253">faker-js/faker#3253</a></li> <li>infra: remove preflight failure comment by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3188">faker-js/faker#3188</a></li> <li>docs(guide): remove esModuleInterop flag from config by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3192">faker-js/faker#3192</a></li> <li>test: fix vite import warning by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3248">faker-js/faker#3248</a></li> <li>refactor(locale): lowercase Mexican color names by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3200">faker-js/faker#3200</a></li> <li>test: verify the generated image links are working by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3127">faker-js/faker#3127</a></li> <li>chore(deps): update dependency eslint-plugin-file-progress to v3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3252">faker-js/faker#3252</a></li> <li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3257">faker-js/faker#3257</a></li> <li>refactor(locale): improve zh_CN vehicle manufacturers by <a href="https://github.com/Heuluck"><code>@Heuluck</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3254">faker-js/faker#3254</a></li> <li>refactor(finance): deprecate maskedNumber for removal by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3201">faker-js/faker#3201</a></li> <li>feat: add initial seed parameter to constructors by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3220">faker-js/faker#3220</a></li> <li>docs: faker.animal.type now has 44 possible animals by <a href="https://github.com/s-inu"><code>@s-inu</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3258">faker-js/faker#3258</a></li> <li>docs: expose documentation for all utilities by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3242">faker-js/faker#3242</a></li> <li>infra(commit-and-tag-version): auto-bump version in usage-guide by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3250">faker-js/faker#3250</a></li> <li>infra(unicorn): consistent-function-scoping by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3255">faker-js/faker#3255</a></li> <li>chore(deps): bump <code>@eslint/plugin-kit</code> from 0.2.2 to 0.2.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3268">faker-js/faker#3268</a></li> <li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3271">faker-js/faker#3271</a></li> <li>chore(test): cleanup usages of randomSeed by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3260">faker-js/faker#3260</a></li> <li>refactor(locale): split en_AU_ocker first_names by sex by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3270">faker-js/faker#3270</a></li> <li>infra(CI): skip required CI steps in merge_queues by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3265">faker-js/faker#3265</a></li> <li>refactor(word): cleanup filter-word-list-by-length.ts by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3262">faker-js/faker#3262</a></li> <li>chore: fix import styling by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3273">faker-js/faker#3273</a></li> <li>chore: import validator functions individually by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3274">faker-js/faker#3274</a></li> <li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3277">faker-js/faker#3277</a></li> <li>fix(locale): fix incorrect accents in it first_name by <a href="https://github.com/matthewmayer"><code>@matthewmayer</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3281">faker-js/faker#3281</a></li> <li>test(image): improve error text by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3278">faker-js/faker#3278</a></li> <li>fix(locale): add Isadora to female names in pt_BR for consistency by <a href="https://github.com/matthewmayer"><code>@matthewmayer</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3282">faker-js/faker#3282</a></li> <li>refactor(locale): split up Spanish generic first names by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3279">faker-js/faker#3279</a></li> <li>docs(guide): fix link to <code>helpers</code> module by <a href="https://github.com/yoshi2no"><code>@yoshi2no</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3289">faker-js/faker#3289</a></li> <li>docs: add missing example return value for internet.jwt by <a href="https://github.com/xDivisionByZerox"><code>@xDivisionByZerox</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3286">faker-js/faker#3286</a></li> <li>refactor(locale): sort person data by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3269">faker-js/faker#3269</a></li> <li>docs: improve example output for replaceSymbols by <a href="https://github.com/matthewmayer"><code>@matthewmayer</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3304">faker-js/faker#3304</a></li> <li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3305">faker-js/faker#3305</a></li> <li>chore(deps): update all non-major dependencies by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3292">faker-js/faker#3292</a></li> <li>chore(deps): update codecov/codecov-action action to v5 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3299">faker-js/faker#3299</a></li> <li>chore(deps): update dependency typescript to v5.7.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3296">faker-js/faker#3296</a></li> <li>chore(deps): update dependency <code>@vueuse/core</code> to v12 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3300">faker-js/faker#3300</a></li> <li>chore(deps): update eslint by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3293">faker-js/faker#3293</a></li> <li>chore(deps): update devdependencies by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3298">faker-js/faker#3298</a></li> <li>chore(deps): update dependency vitepress to v1.5.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3297">faker-js/faker#3297</a></li> <li>chore(deps): update vitest by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3294">faker-js/faker#3294</a></li> <li>chore(deps): update dependency prettier to v3.4.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3295">faker-js/faker#3295</a></li> <li>infra(unicorn): prefer-export-from by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a> in <a href="https://redirect.github.com/faker-js/faker/pull/3272">faker-js/faker#3272</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/faker-js/faker/blob/next/CHANGELOG.md"><code>@faker-js/faker</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/faker-js/faker/compare/v9.2.0...v9.3.0">9.3.0</a> (2024-12-02)</h2> <h3>Features</h3> <ul> <li>add initial seed parameter to constructors (<a href="https://redirect.github.com/faker-js/faker/issues/3220">#3220</a>) (<a href=" |
|
|
6997e2a170
|
fix(frontend) : Increase size of connection pin in blocks (#8920)
- Resolve https://github.com/Significant-Gravitas/AutoGPT/issues/8913 Increase size of Connection pin <img width="1154" alt="Screenshot 2024-12-09 at 6 44 49 PM" src="https://github.com/user-attachments/assets/7cd1ad0d-94c3-4027-aeea-d5ecd27e498d"> |
|
|
b62f411518
|
feat(frontend): monitor tests (#8880)
<!-- Clearly explain the need for these changes: --> We want to be able to test the monitor page with importing and exporting agents ### Changes 🏗️ - Adds more test ids - Builds out monitor.page.ts - adds import export tests - Fixes #8791, fixes #8795, fixes #8792 <!-- Concisely describe all of the changes made in this pull request: --> ### 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: Writing/Running the automated tests |
|
|
d7c9742d7e
|
feat(frontend/feature-flags): Add LaunchDarkly feature flagging UI (#8847)
This PR allows us to feature flag on the frontend, this means we can rollout features in stages, hide features, do AB testing etc. ### Changes 🏗️ Added a LaunchDarkly Provider Added a withFeatureFlag component Added two env vars for: - enabling LD - specifying the _public_ client side key Usage: ``` 'use client' import { useFlags } from 'launchdarkly-react-client-sdk' import { withFeatureFlag } from '@/components/feature-flag/with-feature-flag' function TestFlagPage() { const flags = useFlags() return ( <div className="p-4"> <h1>If you can see this, the feature flag is ON</h1> <pre>Current flag value: {JSON.stringify(flags, null, 2)}</pre> </div> ) } export default withFeatureFlag(TestFlagPage, 'test-flag') ``` ### 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: --> - [ ] ... <details> <summary>Test plan</summary> - Set LD to false - Navigate to a test page, should not be visible - Set LD to true - Navigate to same test page, should be visible </details> #### For configuration changes: - [x] `.env.example` is updated or already compatible with my changes - [x] I have included a list of my configuration changes in the PR description (under **Changes**) - [x] I have updated infra repo <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> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Bently <tomnoon9@gmail.com> Co-authored-by: SerchioSD <69461657+serchiosd@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Abhimanyu Yadav <122007096+Abhi1992002@users.noreply.github.com> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> Co-authored-by: Reinier van der Leer <pwuts@agpt.co> Co-authored-by: Toran Bruce Richards <toran.richards@gmail.com> |
|
|
dcfad263cb
|
feat(blocks): Add Exa API Blocks (#8835)
Adding Exa API blocks because it does very cool search and web scrapping ### Changes 🏗️ Adding Exa API blocks: Search Added a new calendar and time input Added _auth.py for Exa API too. ### 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: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
9ad9dd9fe1
|
fix(frontend): Agent output not being re-fetched on each agent output dialog opened (#8883)
https://github.com/user-attachments/assets/edd6908e-ecf3-45c2-94d7-3f88de70bb8f ### Changes 🏗️ `fetchBlockResults` should always be triggered when `isOutputOpen` is true. ### 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: Nicholas Tindle <nicholas.tindle@agpt.co> |
|
|
73eafa37c6
|
build(deps): bump the production-dependencies group in /autogpt_platform/frontend with 5 updates (#8865)
Bumps the production-dependencies group in /autogpt_platform/frontend with 5 updates: | Package | From | To | | --- | --- | --- | | [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) | `8.40.0` | `8.42.0` | | [@supabase/supabase-js](https://github.com/supabase/supabase-js) | `2.46.1` | `2.46.2` | | [class-variance-authority](https://github.com/joe-bell/cva) | `0.7.0` | `0.7.1` | | [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `0.460.0` | `0.462.0` | | [react-day-picker](https://github.com/gpbl/react-day-picker) | `9.4.0` | `9.4.1` | Updates `@sentry/nextjs` from 8.40.0 to 8.42.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript/releases"><code>@sentry/nextjs</code>'s releases</a>.</em></p> <blockquote> <h2>8.42.0</h2> <h3>Important Changes</h3> <ul> <li> <p><strong>feat(react): React Router v7 support (library) (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14513">#14513</a>)</strong></p> <p>This release adds support for <a href="https://reactrouter.com/home#react-router-as-a-library">React Router v7 (library mode)</a>. Check out the docs on how to set up the integration: <a href="https://docs.sentry.io/platforms/javascript/guides/react/features/react-router/v7/">Sentry React Router v7 Integration Docs</a></p> </li> </ul> <h3>Deprecations</h3> <ul> <li> <p><strong>feat: Warn about source-map generation (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14533">#14533</a>)</strong></p> <p>In the next major version of the SDK we will change how source maps are generated when the SDK is added to an application. Currently, the implementation varies a lot between different SDKs and can be difficult to understand. Moving forward, our goal is to turn on source maps for every framework, unless we detect that they are explicitly turned off. Additionally, if we end up enabling source maps, we will emit a log message that we did so.</p> <p>With this particular release, we are emitting warnings that source map generation will change in the future and we print instructions on how to prepare for the next major.</p> </li> <li> <p><strong>feat(nuxt): Deprecate <code>tracingOptions</code> in favor of <code>vueIntegration</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14530">#14530</a>)</strong></p> <p>Currently it is possible to configure tracing options in two places in the Sentry Nuxt SDK:</p> <ul> <li>In <code>Sentry.init()</code></li> <li>Inside <code>tracingOptions</code> in <code>Sentry.init()</code></li> </ul> <p>For tree-shaking purposes and alignment with the Vue SDK, it is now recommended to instead use the newly exported <code>vueIntegration()</code> and its <code>tracingOptions</code> option to configure tracing options in the Nuxt SDK:</p> <pre lang="ts"><code>// sentry.client.config.ts import * as Sentry from '@sentry/nuxt'; <p>Sentry.init({<br /> // ...<br /> integrations: [<br /> Sentry.vueIntegration({<br /> tracingOptions: {<br /> trackComponents: true,<br /> },<br /> }),<br /> ],<br /> });<br /> </code></pre></p> </li> </ul> <h3>Other Changes</h3> <ul> <li>feat(browser-utils): Update <code>web-vitals</code> to v4.2.4 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14439">#14439</a>)</li> <li>feat(nuxt): Expose <code>vueIntegration</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14526">#14526</a>)</li> <li>fix(feedback): Handle css correctly in screenshot mode (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14535">#14535</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript/blob/8.42.0/CHANGELOG.md"><code>@sentry/nextjs</code>'s changelog</a>.</em></p> <blockquote> <h2>8.42.0</h2> <h3>Important Changes</h3> <ul> <li> <p><strong>feat(react): React Router v7 support (library) (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14513">#14513</a>)</strong></p> <p>This release adds support for <a href="https://reactrouter.com/home#react-router-as-a-library">React Router v7 (library mode)</a>. Check out the docs on how to set up the integration: <a href="https://docs.sentry.io/platforms/javascript/guides/react/features/react-router/v7/">Sentry React Router v7 Integration Docs</a></p> </li> </ul> <h3>Deprecations</h3> <ul> <li> <p><strong>feat: Warn about source-map generation (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14533">#14533</a>)</strong></p> <p>In the next major version of the SDK we will change how source maps are generated when the SDK is added to an application. Currently, the implementation varies a lot between different SDKs and can be difficult to understand. Moving forward, our goal is to turn on source maps for every framework, unless we detect that they are explicitly turned off. Additionally, if we end up enabling source maps, we will emit a log message that we did so.</p> <p>With this particular release, we are emitting warnings that source map generation will change in the future and we print instructions on how to prepare for the next major.</p> </li> <li> <p><strong>feat(nuxt): Deprecate <code>tracingOptions</code> in favor of <code>vueIntegration</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14530">#14530</a>)</strong></p> <p>Currently it is possible to configure tracing options in two places in the Sentry Nuxt SDK:</p> <ul> <li>In <code>Sentry.init()</code></li> <li>Inside <code>tracingOptions</code> in <code>Sentry.init()</code></li> </ul> <p>For tree-shaking purposes and alignment with the Vue SDK, it is now recommended to instead use the newly exported <code>vueIntegration()</code> and its <code>tracingOptions</code> option to configure tracing options in the Nuxt SDK:</p> <pre lang="ts"><code>// sentry.client.config.ts import * as Sentry from '@sentry/nuxt'; <p>Sentry.init({<br /> // ...<br /> integrations: [<br /> Sentry.vueIntegration({<br /> tracingOptions: {<br /> trackComponents: true,<br /> },<br /> }),<br /> ],<br /> });<br /> </code></pre></p> </li> </ul> <h3>Other Changes</h3> <ul> <li>feat(browser-utils): Update <code>web-vitals</code> to v4.2.4 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14439">#14439</a>)</li> <li>feat(nuxt): Expose <code>vueIntegration</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14526">#14526</a>)</li> <li>fix(feedback): Handle css correctly in screenshot mode (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/14535">#14535</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
|
|
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> |
|
|
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> |
|
|
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> |
|
|
2121ffd06b | chore(platform): Bump version to v0.3.4 | |
|
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> |
|
|
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> |
|
|
d2f3f53f57
|
fix(frontend): Fix missing credentials input when no credentials available (#8834)
Fixes breakage from
|
|
|
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> |
|
|
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> |
|
|
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) | |
|
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 |
|
|
eef9bbe991
|
feat(platform, blocks): Webhook-triggered blocks (#8358)
- feat(blocks): Add GitHub Pull Request Trigger block
## feat(platform): Add support for Webhook-triggered blocks
- ⚠️ Add `PLATFORM_BASE_URL` setting
- Add webhook config option and `BlockType.WEBHOOK` to `Block`
- Add check to `Block.__init__` to enforce type and shape of webhook event filter
- Add check to `Block.__init__` to enforce `payload` input on webhook blocks
- Add check to `Block.__init__` to disable webhook blocks if `PLATFORM_BASE_URL` is not set
- Add `Webhook` model + CRUD functions in `backend.data.integrations` to represent webhooks created by our system
- Add `IntegrationWebhook` to DB schema + reference `AgentGraphNode.webhook_id`
- Add `set_node_webhook(..)` in `backend.data.graph`
- Add webhook-related endpoints:
- `POST /integrations/{provider}/webhooks/{webhook_id}/ingress` endpoint, to receive webhook payloads, and for all associated nodes create graph executions
- Add `Node.is_triggered_by_event_type(..)` helper method
- `POST /integrations/{provider}/webhooks/{webhook_id}/ping` endpoint, to allow testing a webhook
- Add `WebhookEvent` + pub/sub functions in `backend.data.integrations`
- Add `backend.integrations.webhooks` module, including:
- `graph_lifecycle_hooks`, e.g. `on_graph_activate(..)`, to handle corresponding webhook creation etc.
- Add calls to these hooks in the graph create/update endpoints
- `BaseWebhooksManager` + `GithubWebhooksManager` to handle creating + registering, removing + deregistering, and retrieving existing webhooks, and validating incoming payloads
## Other improvements
- fix(blocks): Allow having an input and output pin with the same name
- fix(blocks): Add tooltip with description in places where block inputs are rendered without `NodeHandle`
- feat(blocks): Allow hiding inputs (e.g. `payload`) with `SchemaField(hidden=True)`
- fix(frontend): Fix `MultiSelector` component styling
- feat(frontend): Add `AlertDialog` UI component
- feat(frontend): Add `NodeMultiSelectInput` component
- feat(backend/data): Add `NodeModel` with `graph_id`, `graph_version`; `GraphModel` with `user_id`
- Add `make_graph_model(..)` helper function in `backend.data.graph`
- refactor(backend/data): Make `RedisEventQueue` generic and move to `backend.data.execution`
- refactor(frontend): Deduplicate & clean up code for different block types in `generateInputHandles(..)` in `CustomNode`
- dx(backend): Add `MissingConfigError`, `NeedConfirmation` exception
---------
Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
|
|
|
f2816f98e9
|
Merge branch 'master' into dev | |
|
5ee8b62d67
|
fix: hide content except login when not authenticated to prevent errors (#8398)
* fix: hide content except login when not authenticated to prevent errors * Remove supabase folder from tracking * Remove supabase folder from Git tracking * adding git submodule * adding git submodule * Discard changes to .gitignore * only showing AutoGPT logo if user is not present --------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> Co-authored-by: Nicholas Tindle <nicktindle@outlook.com> Co-authored-by: Swifty <craigswift13@gmail.com> Co-authored-by: Toran Bruce Richards <toran.richards@gmail.com> |
|
|
13da8af170
|
chore(platform): Bump version to v0.3.3 | |
|
63e3244e7e
|
feat(platform): Updates to Runner Output UI (#8717)
* feat(platform): Updates to Runner Output UI * add copy text button to output boxes * prettier --------- Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> |
|
|
92bfbfad57
|
feat: generate simple auth tests (#8709) | |
|
cf43248ab8
|
feat(frontend): Show Agent Output on Monitor page (#8501)
* Show Output in Monitor * Updates * Updates * Move hardcoded ids to a dedicated enum --------- Co-authored-by: Toran Bruce Richards <toran.richards@gmail.com> Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
|
|
aea6e7caed
|
build(deps): bump the production-dependencies group in /autogpt_platform/frontend with 7 updates (#8703)
build(deps): bump the production-dependencies group Bumps the production-dependencies group in /autogpt_platform/frontend with 7 updates: | Package | From | To | | --- | --- | --- | | @radix-ui/react-icons | `1.3.1` | `1.3.2` | | [@radix-ui/react-scroll-area](https://github.com/radix-ui/primitives) | `1.2.0` | `1.2.1` | | [@radix-ui/react-tooltip](https://github.com/radix-ui/primitives) | `1.1.3` | `1.1.4` | | [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) | `8.37.1` | `8.38.0` | | [elliptic](https://github.com/indutny/elliptic) | `6.6.0` | `6.6.1` | | [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `0.456.0` | `0.460.0` | | [react-day-picker](https://github.com/gpbl/react-day-picker) | `9.3.0` | `9.3.2` | Updates `@radix-ui/react-icons` from 1.3.1 to 1.3.2 Updates `@radix-ui/react-scroll-area` from 1.2.0 to 1.2.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md) - [Commits](https://github.com/radix-ui/primitives/commits) Updates `@radix-ui/react-tooltip` from 1.1.3 to 1.1.4 - [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md) - [Commits](https://github.com/radix-ui/primitives/commits) Updates `@sentry/nextjs` from 8.37.1 to 8.38.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.37.1...8.38.0) Updates `elliptic` from 6.6.0 to 6.6.1 - [Commits](https://github.com/indutny/elliptic/compare/v6.6.0...v6.6.1) Updates `lucide-react` from 0.456.0 to 0.460.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/0.460.0/packages/lucide-react) Updates `react-day-picker` from 9.3.0 to 9.3.2 - [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.0...v9.3.2) --- updated-dependencies: - dependency-name: "@radix-ui/react-icons" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: "@radix-ui/react-scroll-area" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: "@radix-ui/react-tooltip" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: "@sentry/nextjs" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: elliptic dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: lucide-react dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: react-day-picker 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: Zamil Majdy <zamil.majdy@agpt.co> |
|
|
5fa5b7104a
|
fix(frontend): Monitor Page got all the request doubled on each page refresh (#8727)
fix(frontend): Avoid refreshing page on each auth state change event |
|
|
e81083d9ab
|
fix(frontend): Allow importing agent file with empty description (#8670)
Check structure of agent file with `obj[key] != null` rather than `!!obj[key]` to allow empty strings |
|
|
8fccf2eed3
|
fix(platform/builder): Add heartbeat mechanism (#8665)
* add heartbeat mechanism * formatting data * import List * another import fix * wip * formatting adn linting |
|
|
1f34f78e4e
|
build(frontend): Optimize Docker build time and image size (#8695)
This PR reduces image size by 4.9GB (93%) and reduces uncached build time from ~7m to ~5m20s. - Use cache mount to prevent Yarn cache from being included in `yarn install` layer - Leverage Next.js output tracing to generate minimal application w/ tree-shaken dependencies - Add non-root user following the Next.js reference Dockerfile |
|
|
29cff1bb4e
|
feat(blocks): Add Open Router integration with a large selection of new models (#8653)
* feat: Add Open Router integration credentials - Added support for Open Router integration credentials in the Supabase integration credentials store. - Updated the LLM provider field to include "open_router" as a valid provider option. - Added Open Router API key field to the backend settings. - Updated the profile page to display the Open Router integration credentials. - Updated the credentials input and provider components to include Open Router as a provider option. - Updated the autogpt-server-api types to include "open_router" as a provider name. - Updated the LLM provider schema to include "open_router" as a valid provider name. - Added GEMINI_FLASH_1_5_8B as the first Open Router LLM * Add type ignore to new llm prompt to match the rest of them. * Update LlmModel with a selection of new OpenRouter models * format |
|
|
402789d8cd
|
fix(frontend): avoid displaying long description text for block (#8688)
Co-authored-by: Toran Bruce Richards <toran.richards@gmail.com> |
|
|
a660833744
|
refactor(frontend): Update buttons to edit agents in Monitor (#8687)
Update Monitor buttons Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> |
|
|
6c109adf0b
|
Merge branch 'master' into dev | |
|
bff0dc3d82
|
chore(platform): Bump version to v0.3.1 | |
|
cd7dfbb8b3
|
fix(frontend): Typing in the NodeKeyValueInput field causes the field to un-focus (#8680)
* fix(frontend): Typing in the "Prompt Values" input field causes the field to un-focus * Add comment * Rephrase |
|
|
9a4ff9023d
|
bump version to v0.3.0 | |
|
6a1cea4c4e
|
fix(backend): Add execution persistence for execution scheduler service (#8649)
* fix(backend): Add execution persistence for execution scheduler service * scheduler REST API cleanup * Fix to binary * Adapt UI with new API * Remove schedule.py * Remove unused class * Fix linting |
|
|
f27f596f58
|
fix(frontend): Newly typed text in Input fields vanishes on scroll (#8657) | |
|
e140873dd4
|
Feat(Builder/tutorial): Updates to fix tutorial (#8655)
Feat(Builder/tutorial): Updates to fix tutorial |
|
|
dd0081ab35
|
feat(platform) : scheduling agent runner (#8634)
* add: ui for scheduling agent * adding requests and type for schedule endpoints * feat : monitor schdules on monitor page * add: Complete monitor page * fix filter on monitor page * fix linting * PR nits * Added Docker Compose env var --------- Co-authored-by: Toran Bruce Richards <toran.richards@gmail.com> Co-authored-by: Swifty <craigswift13@gmail.com> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co> |
|
|
52b3148196
|
feat(frontend): check auth before allowing actions to run (#8633) | |
|
05c76738a4
|
tweak(frontend): Add jina and unreal to hidden credentials list in frontend (#8642)
Adds missing hidden credentials |
|
|
ce667f6287
|
feat(frontend): Center initial canvas (#8644)
* fix(frontend): Fix client-side validation for Agent Executor Block * Fix zoom scale calculation * Fix zoom scale calculation |
|
|
98ab525e39
|
fix(frontend): Fix input-field update on empty & default value (#8647)
* fix(frontend): Fix input-field update on empty & default value * Fix error message * Revert |
|
|
5c0f979b9c
|
fix(frontend): Remove double title on credentials input (#8638)
- Add condition to hide `credentials` input title in `CustomNode:generateInputHandles` - Add `title={schema.description}` to `<CredentialsInput>` title element |
|
|
67244759c7
|
fix(frontend): Fix client-side validation for Agent Executor Block (#8643)
* feat(frontend): Center initial canvas & add option to open graph on agent executor blok * Removed unused variable |
|
|
ef3f7aad18
|
fix(frontend): Unbreak credentials input on single-provider blocks (vol. 2)
Fix bad condition introduced in
|
|
|
aaa0b79f08
|
fix(frontend): Unbreak credentials input on single-provider blocks (#8636)
- Resolves #8635 - fix(frontend): Fix type mismatch of `CredentialsField` schema between frontend and backend - Fix usages of `credentialsSchema.credentials_provider` - refactor(backend): Create `CredentialsFieldSchemaExtra` model in backend so it can be mirrored directly in frontend - Add check to enforce multi-provider `CredentialsField` always has `discriminator` - dx: Add type checking shortcut `yarn type-check` / `npm run type-check` for frontend |
|
|
e907ffda6e
|
feat(platform): Simplify Credentials UX (#8524)
- Change `provider` of default credentials to actual provider names (e.g. `anthropic`), remove `llm` provider - Add `discriminator` and `discriminator_mapping` to `CredentialsField` that allows to filter credentials input to only allow providers for matching models in `useCredentials` hook (thanks @ntindle for the idea!); e.g. user chooses `GPT4_TURBO` so then only OpenAI credentials are allowed - Choose credentials automatically and hide credentials input on the node completely if there's only one possible option - Move `getValue` and `parseKeys` to utils - Add `ANTHROPIC`, `GROQ` and `OLLAMA` to providers in frontend `types.ts` - Add `hidden` field to credentials that is used for default system keys to hide them in user profile - Now `provider` field in `CredentialsField` can accept multiple providers as a list ----------------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> Co-authored-by: Reinier van der Leer <pwuts@agpt.co> |
|
|
1e872406ca
|
feat(platform): Introduced Agent Execution Block (#8533) | |
|
5ee909f687
|
fix: show error toast on Run failure when inputs or credentials are i… (#8391)
* fix: show error toast on Run failure when inputs or credentials are invalid * Remove supabase folder from tracking * revert supabase * remove toast --------- Co-authored-by: Avhimanyu <2023ebcs396@online.bits-pilani.ac.in> Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> |
|
|
ee3252bdb1
|
build(deps): bump cookie from 0.7.0 to 1.0.1 in /autogpt_platform/frontend (#8616)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |