Abhimanyu Yadav
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>
2024-12-06 01:16:19 +00:00
Reinier van der Leer
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:
![image](https://github.com/user-attachments/assets/17a33b94-65f0-4e34-a47d-2dd321edecae )
After:
![image](https://github.com/user-attachments/assets/64afb1e4-e3f2-4ca9-8961-f1245f25477f )
- 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>
2024-12-05 10:35:13 +00:00
Zamil Majdy
2121ffd06b
chore(platform): Bump version to v0.3.4
2024-12-02 09:08:19 +07:00
Aarushi
4b8087c067
feat(platform/featureflags): Setting up feature flagging ( #8718 )
...
* feature flag formatting and linting
* add tests
* update poetry lock
* remove unneeded changes
* fix pyproject
* fix formatting and linting
* pydantic settings
* address comments and format
* alphabetize
* fix lockfile
* fix conflicts
2024-11-27 19:29:57 +00:00
dependabot[bot]
97d00455ef
chore(backend): Update 12 dependencies ( #8763 )
...
* build(deps): bump the production-dependencies group across 1 directory with 12 updates
Bumps the production-dependencies group with 12 updates in the /autogpt_platform/backend directory:
| Package | From | To |
| --- | --- | --- |
| [aio-pika](https://github.com/mosquito/aio-pika ) | `9.4.3` | `9.5.0` |
| [apscheduler](https://github.com/agronholm/apscheduler ) | `3.10.4` | `3.11.0` |
| [fastapi](https://github.com/fastapi/fastapi ) | `0.115.4` | `0.115.5` |
| [google-api-python-client](https://github.com/googleapis/google-api-python-client ) | `2.151.0` | `2.154.0` |
| [groq](https://github.com/groq/groq-python ) | `0.11.0` | `0.12.0` |
| [ollama](https://github.com/ollama/ollama-python ) | `0.3.3` | `0.4.1` |
| [openai](https://github.com/openai/openai-python ) | `1.54.3` | `1.55.1` |
| [pydantic](https://github.com/pydantic/pydantic ) | `2.9.2` | `2.10.1` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.18.0` | `2.19.0` |
| [uvicorn](https://github.com/encode/uvicorn ) | `0.32.0` | `0.32.1` |
| [replicate](https://github.com/replicate/replicate-python ) | `1.0.3` | `1.0.4` |
| [pinecone](https://github.com/pinecone-io/pinecone-python-client ) | `5.3.1` | `5.4.0` |
Updates `aio-pika` from 9.4.3 to 9.5.0
- [Release notes](https://github.com/mosquito/aio-pika/releases )
- [Changelog](https://github.com/mosquito/aio-pika/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mosquito/aio-pika/compare/9.4.3...9.5.0 )
Updates `apscheduler` from 3.10.4 to 3.11.0
- [Release notes](https://github.com/agronholm/apscheduler/releases )
- [Changelog](https://github.com/agronholm/apscheduler/blob/3.11.0/docs/versionhistory.rst )
- [Commits](https://github.com/agronholm/apscheduler/compare/3.10.4...3.11.0 )
Updates `fastapi` from 0.115.4 to 0.115.5
- [Release notes](https://github.com/fastapi/fastapi/releases )
- [Commits](https://github.com/fastapi/fastapi/compare/0.115.4...0.115.5 )
Updates `google-api-python-client` from 2.151.0 to 2.154.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases )
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.151.0...v2.154.0 )
Updates `groq` from 0.11.0 to 0.12.0
- [Release notes](https://github.com/groq/groq-python/releases )
- [Changelog](https://github.com/groq/groq-python/blob/main/CHANGELOG.md )
- [Commits](https://github.com/groq/groq-python/compare/v0.11.0...v0.12.0 )
Updates `ollama` from 0.3.3 to 0.4.1
- [Release notes](https://github.com/ollama/ollama-python/releases )
- [Commits](https://github.com/ollama/ollama-python/compare/v0.3.3...v0.4.1 )
Updates `openai` from 1.54.3 to 1.55.1
- [Release notes](https://github.com/openai/openai-python/releases )
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openai/openai-python/compare/v1.54.3...v1.55.1 )
Updates `pydantic` from 2.9.2 to 2.10.1
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.9.2...v2.10.1 )
Updates `sentry-sdk` from 2.18.0 to 2.19.0
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.18.0...2.19.0 )
Updates `uvicorn` from 0.32.0 to 0.32.1
- [Release notes](https://github.com/encode/uvicorn/releases )
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/encode/uvicorn/compare/0.32.0...0.32.1 )
Updates `replicate` from 1.0.3 to 1.0.4
- [Release notes](https://github.com/replicate/replicate-python/releases )
- [Commits](https://github.com/replicate/replicate-python/compare/1.0.3...1.0.4 )
Updates `pinecone` from 5.3.1 to 5.4.0
- [Release notes](https://github.com/pinecone-io/pinecone-python-client/releases )
- [Changelog](https://github.com/pinecone-io/pinecone-python-client/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pinecone-io/pinecone-python-client/compare/v5.3.1...v5.4.0 )
---
updated-dependencies:
- dependency-name: aio-pika
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: apscheduler
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: google-api-python-client
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: groq
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: ollama
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: openai
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: uvicorn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: replicate
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: pinecone
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* Downgrade pydantic & pinecode
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
2024-11-27 16:49:23 +00:00
dependabot[bot]
03f776681a
build(deps-dev): bump the development-dependencies group in /autogpt_platform/backend with 2 updates ( #8761 )
...
build(deps-dev): bump the development-dependencies group
Bumps the development-dependencies group in /autogpt_platform/backend with 2 updates: [poethepoet](https://github.com/nat-n/poethepoet ) and [ruff](https://github.com/astral-sh/ruff ).
Updates `poethepoet` from 0.30.0 to 0.31.0
- [Release notes](https://github.com/nat-n/poethepoet/releases )
- [Commits](https://github.com/nat-n/poethepoet/compare/v0.30.0...v0.31.0 )
Updates `ruff` from 0.7.4 to 0.8.0
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.7.4...0.8.0 )
---
updated-dependencies:
- dependency-name: poethepoet
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: development-dependencies
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: development-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 22:49:45 +00:00
Reinier van der Leer
3d21d54dab
fix(backend): Add missing `strenum` dependency
...
Follow-up hotfix for #8358
2024-11-25 18:26:13 +00:00
Reinier van der Leer
13da8af170
chore(platform): Bump version to v0.3.3
2024-11-20 23:25:14 +00:00
Reinier van der Leer
33dd2eb919
dx(backend): Fix `pre-commit` `isort` step ( #8726 )
...
- Set `tool.isort.profile = "black"`
- Explicitly pass the first-party package name in the `isort` jobs in the `pre-commit` config
2024-11-19 19:51:20 -06:00
dependabot[bot]
84076ebee1
build(deps-dev): bump the development-dependencies group in /autogpt_platform/backend with 2 updates ( #8699 )
...
build(deps-dev): bump the development-dependencies group
Bumps the development-dependencies group in /autogpt_platform/backend with 2 updates: [ruff](https://github.com/astral-sh/ruff ) and [pyright](https://github.com/RobertCraigie/pyright-python ).
Updates `ruff` from 0.7.3 to 0.7.4
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.7.3...0.7.4 )
Updates `pyright` from 1.1.388 to 1.1.389
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.388...v1.1.389 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: development-dependencies
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: development-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 13:28:34 +00:00
Reinier van der Leer
bff0dc3d82
chore(platform): Bump version to v0.3.1
2024-11-18 12:11:07 +01:00
Reinier van der Leer
9a4ff9023d
bump version to v0.3.0
2024-11-15 11:54:42 +01:00
Zamil Majdy
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
2024-11-15 11:17:37 +01:00
dependabot[bot]
4a163e5b54
build(deps-dev): bump the development-dependencies group in /autogpt_platform/backend with 3 updates ( #8611 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
2024-11-11 17:31:13 -06:00
dependabot[bot]
603fec3467
build(deps): bump the production-dependencies group in /autogpt_platform/backend with 2 updates ( #8610 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
2024-11-11 22:21:44 +00:00
dependabot[bot]
4259ad686e
build(deps): bump the production-dependencies group across 1 directory with 11 updates ( #8567 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
2024-11-05 17:32:15 -06:00
dependabot[bot]
f17c20ed91
build(deps): manual fix!! bump replicate from 0.34.1 to 1.0.3 in /autogpt_platform/backend ( #8476 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
2024-11-05 14:34:37 -06:00
dependabot[bot]
11a4f9fdaa
build(deps-dev): bump the development-dependencies group in /autogpt_platform/backend with 2 updates ( #8543 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 19:14:05 -06:00
Nicholas Tindle
3aebed61d2
feat(backend): credential swap to api keys in cred store ( #8403 )
...
* feat(backend): credential swap
* ci: formatting
* fix: importing is hard okay
* fix: spelln' is hard
* feat: better credential provider handling
* docs: update the imports locations
* fix: test credentials + formatting
* feat: drop continuous read mode
* fix: lint
* feat: fallback credentials
* feat: charge for credential useage and have a bad backup mechnism
* fix: don't save default credentials + add d_id
* fix: formatting
* feat: basic encryption/decryption
* ref: move files around
* ref: sign all blocks out of their credentials
* ref: update target to match a new, and encrypted future
* wip: llm provider merger
* don't delete `credentials` input on nodes
* fix llm block ci issues
* updated get AICredentials
* fix fix
* insert migration to move integration credentials from `auth.user` metadata to `platform.User.metadata`
* fixed migration
* add migration for existing user integration credentials
* disabled reddit and email block
* fix credential handling in LLM blocks
* add other secret fields to credential scrubber migration
* add other secret fields to credential scrubber migration (vol. 2)
* fix: pr fixes
* fix: mock funciton
* add encrypted values
---------
Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
Co-authored-by: SwiftyOS <craigswift13@gmail.com>
Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com>
Co-authored-by: Aarushi <aarushik93@gmail.com>
2024-10-31 02:36:38 +00:00
dependabot[bot]
67ff738fda
build(deps): bump croniter from 2.0.7 to 5.0.1 in /autogpt_platform/backend ( #8498 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 18:54:49 -05:00
dependabot[bot]
fa04f802b2
build(deps-dev): bump the development-dependencies group in /autogpt_platform/backend with 4 updates ( #8471 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 00:34:02 +00:00
dependabot[bot]
6fef4fd66e
build(deps): bump tenacity from 8.5.0 to 9.0.0 in /autogpt_platform/backend ( #8472 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 23:52:08 +00:00
dependabot[bot]
c028dd647e
build(deps): bump psutil from 5.9.8 to 6.1.0 in /autogpt_platform/backend ( #8473 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 18:45:56 -05:00
dependabot[bot]
308a9bc40e
build(deps): bump sentry-sdk from 1.45.0 to 2.17.0 in /autogpt_platform/backend ( #8475 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 17:04:48 -05:00
dependabot[bot]
d8317c8257
build(deps): bump websockets from 12.0 to 13.1 in /autogpt_platform/backend ( #8477 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
2024-10-28 20:44:24 +00:00
Aarushi
e2df6019fb
feat(blocks): Add pinecone and jina blocks ( #8401 )
...
* add pinecone and jina blocks
* udpate based on comments
* backend updates
* frontend updates
* type hint
* more type hints
* another type hint
* update run signature
* shared jina provider
* fix linting
* lockfile
* remove noqa
* remove noqa
* remove vector db folder
* line
* update pincone credentials provider
* fix imports
* formating
* update frontend
* Test (#8425 )
* h
* Discard changes to autogpt_platform/backend/poetry.lock
* fix: broken dep
---------
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
2024-10-24 21:01:53 +01:00
Reinier van der Leer
992989ee71
feat(backend): Ensure validity of OAuth credentials during graph execution ( #8191 )
...
- feat(backend/executor): Change credential injection mechanism to acquire credentials from `AgentServer` just before execution
- Also locks the credentials for the duration of the execution
- feat(backend/server): Add thread-safe `IntegrationCredentialsManager` to handle and synchronize credentials-related operations
- feat(libs): Add mutexes to `SupabaseIntegrationCredentialsStore` to ensure thread-safety
Also:
- feat(backend): Added Pydantic model (de)serialization support to `@expose` decorator
Refactorings:
- refactor(backend, libs): Move `KeyedMutex` to `autogpt_libs.utils.synchronize`
- refactor(backend/server): Make `backend.server.integrations` module with `router`, `creds_manager`, and `utils` in it
2024-10-10 16:45:43 +00:00
ymrohit
22fb9bc635
Added Replicate Flux Blocks for image generation ( #8216 )
...
* Added Replicate Flux Blocks
* updated poetry lock file for replicate
* Refactor ReplicateFluxAdvancedModelBlock to use an enum for replicate_model_name rather than free strings.
* Refactor ReplicateFluxAdvancedModelBlock to use an enum for output_format instead of free strings
* Refactor ReplicateFluxAdvancedModelBlock to stop requiring people to type a random seed
* Refactor ReplicateFluxAdvancedModelBlock to stop requiring people to type a random seed
* run format
* poetry run format
* Delete ReplicateFluxBasicModelBlock
* Mark model name as not advanced
* tweak input order
* Fix test
---------
Co-authored-by: Toran Bruce Richards <toran.richards@gmail.com>
2024-09-29 22:24:42 +01:00
Bently
d7e59966ef
Feat(Builder): Add Google Maps Search Block ( #8162 )
...
* Feat(Builder): Add Google Maps Search Block
* format
* Updates to google maps search block
* fixes
* format + updates again
* fix for pytest
* format again
* updates based on new comments
* fix for format?
---------
Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
2024-09-27 21:29:59 +01:00
Swifty
c07cf8a7b8
fix(platform): Added updated graph meta to include runs ( #8088 )
2024-09-23 11:31:48 +02:00
Swifty
ef7cfbb860
refactor: AutoGPT Platform Stealth Launch Repo Re-Org ( #8113 )
...
Restructuring the Repo to make it clear the difference between classic autogpt and the autogpt platform:
* Move the "classic" projects `autogpt`, `forge`, `frontend`, and `benchmark` into a `classic` folder
* Also rename `autogpt` to `original_autogpt` for absolute clarity
* Rename `rnd/` to `autogpt_platform/`
* `rnd/autogpt_builder` -> `autogpt_platform/frontend`
* `rnd/autogpt_server` -> `autogpt_platform/backend`
* Adjust any paths accordingly
2024-09-20 16:50:43 +02:00