Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: AutoGPT Platform v0.3.0 #8651

Draft
wants to merge 36 commits into
base: master
Choose a base branch
from
Draft

release: AutoGPT Platform v0.3.0 #8651

wants to merge 36 commits into from

Conversation

Pwuts
Copy link
Member

@Pwuts Pwuts commented Nov 14, 2024

Changes πŸ—οΈ

  • TODO: make release notes

Checklist πŸ“‹

  • I have tested the platform in dev in its current state according to the test plan:

    • Log out, then log back in.
    • Create from scratch and execute an agent with at least 3 blocks, including the input and output blocks
    • Go to the monitor screen and edit and run a saved agent.
    • Export/import
      • Export the agent to a file.
      • Import another agent from a file.
      • Run the imported agent.
    • Complete the tutorial.
    • Marketplace (dev)
      • Submit an agent to the dev marketplace.
      • Approve the agent.
      • Download the agent.
      • Run the downloaded agent.
  • I have checked for configuration changes and included a list in the PR description

Torantulino and others added 30 commits November 11, 2024 09:36
* feat(platform): Add AIMusicGeneratorBlock for music generation

* refactor(platform): Refactor AIMusicGeneratorBlock for improved error handling and logging

* refactor(ui): Refactor ContentRenderer to support audio rendering

* format

* Frontend format and lint
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 2 to 3.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](peter-evans/repository-dispatch@v2...v3)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…autogpt_libs in the production-dependencies group (#8617)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…utogpt_libs in the development-dependencies group (#8618)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…platform/market with 2 updates (#8612)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…orm/backend with 2 updates (#8610)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <[email protected]>
…platform/frontend with 12 updates (#8615)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <[email protected]>
…orm/frontend with 8 updates (#8614)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…platform/backend with 3 updates (#8611)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <[email protected]>
…ntend (#8616)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix: docs/requirements.txt to reduce vulnerabilities


The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-ZIPP-7430899

Co-authored-by: snyk-bot <[email protected]>
#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 <[email protected]>
Co-authored-by: Aarushi <[email protected]>
- 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 <[email protected]>
Co-authored-by: Reinier van der Leer <[email protected]>
…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
…ol. 2)

Fix bad condition introduced in aaa0b79 (#8636) to resolve #8635
* Add support for default credentials to unreal block

* Refactor block cost configuration and add new blocks

This commit refactors the block cost configuration file and adds support for new blocks. The changes include:
- Importing the `AIMusicGeneratorBlock`, `JinaEmbeddingBlock`, and `UnrealTextToSpeechBlock` classes
- Updating the `BLOCK_COSTS` dictionary to include costs for the new blocks

These changes enable the usage of the newly introduced blocks.
Adding GA tag to docs site

Co-authored-by: Toran Bruce Richards <[email protected]>
…8643)

* feat(frontend): Center initial canvas & add option to open graph on agent executor blok

* Removed unused variable
* Create README.md

* Update README.md

* Update index.md

* Update README.md

* Update index.md

* Update index.md
- Add condition to hide `credentials` input title in `CustomNode:generateInputHandles`
- Add `title={schema.description}` to `<CredentialsInput>` title element
* fix(frontend): Fix input-field update on empty & default value

* Fix error message

* Revert
* fix(frontend): Fix client-side validation for Agent Executor Block

* Fix zoom scale calculation

* Fix zoom scale calculation
ntindle and others added 4 commits November 14, 2024 09:45
* feat(block): Add AIImageGeneratorBlock

This commit adds the AIImageGeneratorBlock class to the backend. The AIImageGeneratorBlock is responsible for generating images using various AI models through a unified interface.

* Remove unsupported inputs and add more styles

* Update autogpt_platform/backend/backend/blocks/ai_image_generator_block.py

Co-authored-by: Reinier van der Leer <[email protected]>

* run format

* Add test mock

* mock client run

* Refactor AIImageGeneratorBlock to use a separate function for running the client

* Update Credential description

* Rename ModelProvider to ImageGenModel

* Add missing block run function

* fix mock

* .

* Refactor AIImageGeneratorBlock to move run_client function inside class

* Fix broken reference to run client and tidy code.

* Refactor AIImageGeneratorBlock to improve code structure and error handling

* Move client into run client instantiation function.

* Refactor AIImageGeneratorBlock to handle output as FileOutput and improve error handling

* run format

---------

Co-authored-by: Reinier van der Leer <[email protected]>
* add: api generator functions and endpoints

* Rebase onto dev, refactor API manager location, remove suspended key revoke, and update API code for Prisma compatibility

* add: key_manager

* reversing changes og poetry.lock

* add: changing hash mexhansim in API Manager

* add: changing hash mexhansim in API Manager

* fixing some simple bugs

* fix linting and adding better error handling

---------

Co-authored-by: Aarushi <[email protected]>
* 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 <[email protected]>
Co-authored-by: Swifty <[email protected]>
Co-authored-by: Zamil Majdy <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Nov 14, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
9 out of 10 committers have signed the CLA.

βœ… Torantulino
βœ… Abhi1992002
βœ… ntindle
βœ… Pwuts
βœ… kcze
βœ… kbarnard10
βœ… aarushik93
βœ… Bentlybro
βœ… majdyz
❌ vishesh10
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions github-actions bot added documentation Improvements or additions to documentation platform/frontend AutoGPT Platform - Front end platform/backend AutoGPT Platform - Back end platform/blocks size/xl labels Nov 14, 2024
Copy link

netlify bot commented Nov 14, 2024

βœ… Deploy Preview for auto-gpt-docs canceled.

Name Link
πŸ”¨ Latest commit f9633ff
πŸ” Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/6736890a2e24f6000884a93d

Feat(Builder/tutorial): Updates to fix tutorial
Reverts c707ee9 (#8646)

The problem analysis that led to #8646 contained some errors, so the migration removed in the PR doesn't seem to have been the cause of the problem we were hunting. Also, this migration is an essential part of the security improvement that we made 2 weeks ago.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation platform/backend AutoGPT Platform - Back end platform/blocks platform/frontend AutoGPT Platform - Front end size/xl
Projects
None yet
Development

Successfully merging this pull request may close these issues.