-
Notifications
You must be signed in to change notification settings - Fork 44.7k
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
feat(frontend/feature-flags): Add LaunchDarkly feature flagging UI #8847
Conversation
* Adds Word Character Count Block Co-Authored-By: SerchioSD <69461657+serchiosd@users.noreply.github.com> * update test_output --------- Co-authored-by: SerchioSD <69461657+serchiosd@users.noreply.github.com>
build(deps-dev): bump ruff Bumps the development-dependencies group in /autogpt_platform/autogpt_libs with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.7.4 to 0.8.0 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.7.4...0.8.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…me with different length in different places (#8746)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@v2...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
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](microsoft/playwright@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](storybookjs/eslint-plugin-storybook@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](postcss/postcss@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](tailwindlabs/prettier-plugin-tailwindcss@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](tailwindlabs/tailwindcss@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](microsoft/TypeScript@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>
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](getsentry/sentry-javascript@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](jshttp/cookie@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](gpbl/react-day-picker@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](dcastil/tailwind-merge@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>
* 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](mosquito/aio-pika@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](agronholm/apscheduler@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](fastapi/fastapi@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](googleapis/google-api-python-client@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](groq/groq-python@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](ollama/ollama-python@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](openai/openai-python@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](pydantic/pydantic@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](getsentry/sentry-python@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](encode/uvicorn@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](replicate/replicate-python@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](pinecone-io/pinecone-python-client@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>
* 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
…te (#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>
…ock 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>
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>
…n failed async function (#8836) This fix is triggered by an error observed on db connection failure on SupaBase: ``` 2024-11-28 07:45:24,724 INFO [DatabaseManager] Starting... 2024-11-28 07:45:24,726 INFO [PID-18|DatabaseManager|Prisma-7f32369c-6432-4edb-8e71-ef820332b9e4] Acquiring connection started... 2024-11-28 07:45:24,726 INFO [PID-18|DatabaseManager|Prisma-7f32369c-6432-4edb-8e71-ef820332b9e4] Acquiring connection completed successfully. {"is_panic":false,"message":"Can't reach database server at `...pooler.supabase.com:5432`\n\nPlease make sure your database server is running at `....pooler.supabase.com:5432`.","meta":{"database_host":"...pooler.supabase.com","database_port":5432},"error_code":"P1001"} 2024-11-28 07:45:35,153 INFO [PID-18|DatabaseManager|Prisma-7f32369c-6432-4edb-8e71-ef820332b9e4] Acquiring connection failed: Could not connect to the query engine. Retrying now... 2024-11-28 07:45:36,155 INFO [PID-18|DatabaseManager|Redis-e14a33de-2d81-4536-b48b-a8aa4b1f4766] Acquiring connection started... 2024-11-28 07:45:36,181 INFO [PID-18|DatabaseManager|Redis-e14a33de-2d81-4536-b48b-a8aa4b1f4766] Acquiring connection completed successfully. 2024-11-28 07:45:36,183 INFO [PID-18|DatabaseManager|Pyro-2722cd29-4dbd-4cf9-882f-73842658599d] Starting Pyro Service started... 2024-11-28 07:45:36,189 INFO [DatabaseManager] Connected to Pyro; URI = PYRO:DatabaseManager@0.0.0.0:8005 2024-11-28 07:46:28,241 ERROR Error in get_user_integrations: All connection attempts failed ``` Where even ``` 2024-11-28 07:45:35,153 INFO [PID-18|DatabaseManager|Prisma-7f32369c-6432-4edb-8e71-ef820332b9e4] Acquiring connection failed: Could not connect to the query engine. Retrying now... ``` is present, the Redis connection is still proceeding without waiting for the retry to complete. This was likely caused by Tenacity not fully awaiting the DB connection acquisition command. ### Changes 🏗️ * Add special handling for the async function to explicitly await the function execution result on each retry. * Explicitly raise exceptions on `db.connect()` if the db is not connected even after `prisma.connect()` command. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details>
…kend (#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>
### Background Implements an AI Video Generator Block for text to image models hosted on Fal ![image](https://github.com/user-attachments/assets/9cb70015-4174-4419-8c1a-4144f324442f) --------- Co-authored-by: Aarushi <50577581+aarushik93@users.noreply.github.com> Co-authored-by: Aarushi <aarushik93@gmail.com>
…orm/market with 2 updates (#8757) Bumps the production-dependencies group in /autogpt_platform/market with 2 updates: [uvicorn](https://github.com/encode/uvicorn) and [sentry-sdk](https://github.com/getsentry/sentry-python). Updates `uvicorn` from 0.32.0 to 0.32.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/encode/uvicorn/releases">uvicorn's releases</a>.</em></p> <blockquote> <h2>Version 0.32.1</h2> <h2>What's Changed</h2> <ul> <li>Enable httptools lenient data by <a href="https://github.com/vvanglro"><code>@vvanglro</code></a> in <a href="https://github.com/encode/uvicorn/pull/2488">encode/uvicorn#2488</a></li> <li>Drop ASGI spec version to 2.3 on HTTP scope by <a href="https://github.com/Kludex"><code>@Kludex</code></a> in <a href="https://github.com/encode/uvicorn/pull/2513">encode/uvicorn#2513</a></li> </ul> <hr /> <p><strong>Full Changelog</strong>: <a href="https://github.com/encode/uvicorn/compare/0.32.0...0.32.1">https://github.com/encode/uvicorn/compare/0.32.0...0.32.1</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md">uvicorn's changelog</a>.</em></p> <blockquote> <h2>0.32.1 (2024-11-20)</h2> <h3>Fixed</h3> <ul> <li>Drop ASGI spec version to 2.3 on HTTP scope <a href="https://github.com/encode/uvicorn/pull/2513">#2513</a></li> <li>Enable httptools lenient data on <code>httptools >= 0.6.3</code> <a href="https://github.com/encode/uvicorn/pull/2488">#2488</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/encode/uvicorn/commit/5279296e620fad6c6839263c279ff23b4be8df32"><code>5279296</code></a> Upgrade upload/download GitHub Actions (<a href="https://github.com/encode/uvicorn/issues/2517">#2517</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/8c3402dd222d2773770bf0de8e68d85931efdf84"><code>8c3402d</code></a> Update <code>publish.yaml</code> with latest PyPI recommendations (<a href="https://github.com/encode/uvicorn/issues/2516">#2516</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/04c6320f396938363e5f5488ffbf19adf528681e"><code>04c6320</code></a> Version 0.32.1 (<a href="https://github.com/encode/uvicorn/issues/2515">#2515</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/fc6c51b8bba48454685907ba629ca404543e9f42"><code>fc6c51b</code></a> Drop ASGI spec version to 2.3 on HTTP (<a href="https://github.com/encode/uvicorn/issues/2513">#2513</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/2aea8354ea60c1ec906905ca006fd4d4c928fe63"><code>2aea835</code></a> fix(http): enable httptools lenient data (<a href="https://github.com/encode/uvicorn/issues/2488">#2488</a>)</li> <li>See full diff in <a href="https://github.com/encode/uvicorn/compare/0.32.0...0.32.1">compare view</a></li> </ul> </details> <br /> Updates `sentry-sdk` from 2.18.0 to 2.19.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's releases</a>.</em></p> <blockquote> <h2>2.19.0</h2> <h3>Various fixes & improvements</h3> <ul> <li>New: introduce <code>rust_tracing</code> integration. See <a href="https://docs.sentry.io/platforms/python/integrations/rust_tracing/">https://docs.sentry.io/platforms/python/integrations/rust_tracing/</a> (<a href="https://github.com/getsentry/sentry-python/issues/3717">#3717</a>) by <a href="https://github.com/matt-codecov"><code>@matt-codecov</code></a></li> <li>Auto enable Litestar integration (<a href="https://github.com/getsentry/sentry-python/issues/3540">#3540</a>) by <a href="https://github.com/provinzkraut"><code>@provinzkraut</code></a></li> <li>Deprecate <code>sentry_sdk.init</code> context manager (<a href="https://github.com/getsentry/sentry-python/issues/3729">#3729</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>feat(spotlight): Send PII to Spotlight when no DSN is set (<a href="https://github.com/getsentry/sentry-python/issues/3804">#3804</a>) by <a href="https://github.com/BYK"><code>@BYK</code></a></li> <li>feat(spotlight): Add info logs when Sentry is enabled (<a href="https://github.com/getsentry/sentry-python/issues/3735">#3735</a>) by <a href="https://github.com/BYK"><code>@BYK</code></a></li> <li>feat(spotlight): Inject Spotlight button on Django (<a href="https://github.com/getsentry/sentry-python/issues/3751">#3751</a>) by <a href="https://github.com/BYK"><code>@BYK</code></a></li> <li>feat(spotlight): Auto enable cache_spans for Spotlight on DEBUG (<a href="https://github.com/getsentry/sentry-python/issues/3791">#3791</a>) by <a href="https://github.com/BYK"><code>@BYK</code></a></li> <li>fix(logging): Handle parameter <code>stack_info</code> for the <code>LoggingIntegration</code> (<a href="https://github.com/getsentry/sentry-python/issues/3745">#3745</a>) by <a href="https://github.com/gmcrocetti"><code>@gmcrocetti</code></a></li> <li>fix(pure-eval): Make sentry-sdk[pure-eval] installable with pip==24.0 (<a href="https://github.com/getsentry/sentry-python/issues/3757">#3757</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></li> <li>fix(rust_tracing): include_tracing_fields arg to control unvetted data in rust_tracing integration (<a href="https://github.com/getsentry/sentry-python/issues/3780">#3780</a>) by <a href="https://github.com/matt-codecov"><code>@matt-codecov</code></a></li> <li>fix(aws) Fix aws lambda tests (by reducing event size) (<a href="https://github.com/getsentry/sentry-python/issues/3770">#3770</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></li> <li>fix(arq): fix integration with Worker settings as a dict (<a href="https://github.com/getsentry/sentry-python/issues/3742">#3742</a>) by <a href="https://github.com/saber-solooki"><code>@saber-solooki</code></a></li> <li>fix(httpx): Prevent Sentry baggage duplication (<a href="https://github.com/getsentry/sentry-python/issues/3728">#3728</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>fix(falcon): Don't exhaust request body stream (<a href="https://github.com/getsentry/sentry-python/issues/3768">#3768</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>fix(integrations): Check <code>retries_left</code> before capturing exception (<a href="https://github.com/getsentry/sentry-python/issues/3803">#3803</a>) by <a href="https://github.com/malkovro"><code>@malkovro</code></a></li> <li>fix(openai): Use name instead of description (<a href="https://github.com/getsentry/sentry-python/issues/3807">#3807</a>) by <a href="https://github.com/sourceful-rob"><code>@sourceful-rob</code></a></li> <li>test(gcp): Only run GCP tests when they should (<a href="https://github.com/getsentry/sentry-python/issues/3721">#3721</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>chore: Shorten CI workflow names (<a href="https://github.com/getsentry/sentry-python/issues/3805">#3805</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></li> <li>chore: Test with pyspark prerelease (<a href="https://github.com/getsentry/sentry-python/issues/3760">#3760</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></li> <li>build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.2 (<a href="https://github.com/getsentry/sentry-python/issues/3792">#3792</a>) by <a href="https://github.com/dependabot"><code>@dependabot</code></a></li> <li>build(deps): bump actions/checkout from 4.2.1 to 4.2.2 (<a href="https://github.com/getsentry/sentry-python/issues/3691">#3691</a>) by <a href="https://github.com/dependabot"><code>@dependabot</code></a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md">sentry-sdk's changelog</a>.</em></p> <blockquote> <h2>2.19.0</h2> <h3>Various fixes & improvements</h3> <ul> <li>New: introduce <code>rust_tracing</code> integration. See <a href="https://docs.sentry.io/platforms/python/integrations/rust_tracing/">https://docs.sentry.io/platforms/python/integrations/rust_tracing/</a> (<a href="https://github.com/getsentry/sentry-python/issues/3717">#3717</a>) by <a href="https://github.com/matt-codecov"><code>@matt-codecov</code></a></li> <li>Auto enable Litestar integration (<a href="https://github.com/getsentry/sentry-python/issues/3540">#3540</a>) by <a href="https://github.com/provinzkraut"><code>@provinzkraut</code></a></li> <li>Deprecate <code>sentry_sdk.init</code> context manager (<a href="https://github.com/getsentry/sentry-python/issues/3729">#3729</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>feat(spotlight): Send PII to Spotlight when no DSN is set (<a href="https://github.com/getsentry/sentry-python/issues/3804">#3804</a>) by <a href="https://github.com/BYK"><code>@BYK</code></a></li> <li>feat(spotlight): Add info logs when Sentry is enabled (<a href="https://github.com/getsentry/sentry-python/issues/3735">#3735</a>) by <a href="https://github.com/BYK"><code>@BYK</code></a></li> <li>feat(spotlight): Inject Spotlight button on Django (<a href="https://github.com/getsentry/sentry-python/issues/3751">#3751</a>) by <a href="https://github.com/BYK"><code>@BYK</code></a></li> <li>feat(spotlight): Auto enable cache_spans for Spotlight on DEBUG (<a href="https://github.com/getsentry/sentry-python/issues/3791">#3791</a>) by <a href="https://github.com/BYK"><code>@BYK</code></a></li> <li>fix(logging): Handle parameter <code>stack_info</code> for the <code>LoggingIntegration</code> (<a href="https://github.com/getsentry/sentry-python/issues/3745">#3745</a>) by <a href="https://github.com/gmcrocetti"><code>@gmcrocetti</code></a></li> <li>fix(pure-eval): Make sentry-sdk[pure-eval] installable with pip==24.0 (<a href="https://github.com/getsentry/sentry-python/issues/3757">#3757</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></li> <li>fix(rust_tracing): include_tracing_fields arg to control unvetted data in rust_tracing integration (<a href="https://github.com/getsentry/sentry-python/issues/3780">#3780</a>) by <a href="https://github.com/matt-codecov"><code>@matt-codecov</code></a></li> <li>fix(aws) Fix aws lambda tests (by reducing event size) (<a href="https://github.com/getsentry/sentry-python/issues/3770">#3770</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></li> <li>fix(arq): fix integration with Worker settings as a dict (<a href="https://github.com/getsentry/sentry-python/issues/3742">#3742</a>) by <a href="https://github.com/saber-solooki"><code>@saber-solooki</code></a></li> <li>fix(httpx): Prevent Sentry baggage duplication (<a href="https://github.com/getsentry/sentry-python/issues/3728">#3728</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>fix(falcon): Don't exhaust request body stream (<a href="https://github.com/getsentry/sentry-python/issues/3768">#3768</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>fix(integrations): Check <code>retries_left</code> before capturing exception (<a href="https://github.com/getsentry/sentry-python/issues/3803">#3803</a>) by <a href="https://github.com/malkovro"><code>@malkovro</code></a></li> <li>fix(openai): Use name instead of description (<a href="https://github.com/getsentry/sentry-python/issues/3807">#3807</a>) by <a href="https://github.com/sourceful-rob"><code>@sourceful-rob</code></a></li> <li>test(gcp): Only run GCP tests when they should (<a href="https://github.com/getsentry/sentry-python/issues/3721">#3721</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>chore: Shorten CI workflow names (<a href="https://github.com/getsentry/sentry-python/issues/3805">#3805</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></li> <li>chore: Test with pyspark prerelease (<a href="https://github.com/getsentry/sentry-python/issues/3760">#3760</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></li> <li>build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.2 (<a href="https://github.com/getsentry/sentry-python/issues/3792">#3792</a>) by <a href="https://github.com/dependabot"><code>@dependabot</code></a></li> <li>build(deps): bump actions/checkout from 4.2.1 to 4.2.2 (<a href="https://github.com/getsentry/sentry-python/issues/3691">#3691</a>) by <a href="https://github.com/dependabot"><code>@dependabot</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-python/commit/039c220bcb5208b278bc1cd0b08611bdac26b895"><code>039c220</code></a> Updated changelog</li> <li><a href="https://github.com/getsentry/sentry-python/commit/c83e7428f44263e6d62ab88cb61034e7f438b2b4"><code>c83e742</code></a> release: 2.19.0</li> <li><a href="https://github.com/getsentry/sentry-python/commit/8fe5bb4b1946874f61bfc09dcce327e20bb24519"><code>8fe5bb4</code></a> feat: Send PII to Spotlight when no DSN is set (<a href="https://github.com/getsentry/sentry-python/issues/3804">#3804</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/295dd8d50fc161c79db7249d228f87d79bb5bd38"><code>295dd8d</code></a> Auto enable Litestar integration (<a href="https://github.com/getsentry/sentry-python/issues/3540">#3540</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/bd50c386527f0d014e2e3c5dea274f6836e713e6"><code>bd50c38</code></a> fix(httpx): Prevent Sentry baggage duplication (<a href="https://github.com/getsentry/sentry-python/issues/3728">#3728</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/e9ec6c1812b3c4c0bebdfb736869c1f6a226dc71"><code>e9ec6c1</code></a> test(gcp): Only run GCP tests when they should (<a href="https://github.com/getsentry/sentry-python/issues/3721">#3721</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/aa6e8fd05ca5812213c96cdaf125ab3ae23726f8"><code>aa6e8fd</code></a> fix(falcon): Don't exhaust request body stream (<a href="https://github.com/getsentry/sentry-python/issues/3768">#3768</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/3e2885322a633398d62e8f1dae6315eefec35a34"><code>3e28853</code></a> fix(integrations): Check retries_left before capturing exception (<a href="https://github.com/getsentry/sentry-python/issues/3803">#3803</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/01146bd3adeb220bcf6cdd7ca634d2d2bc83b18f"><code>01146bd</code></a> fix(openai): Use name instead of description (<a href="https://github.com/getsentry/sentry-python/issues/3807">#3807</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/d894fc232055ea06ac2ba1431519849e97973423"><code>d894fc2</code></a> Shorten CI workflow names (<a href="https://github.com/getsentry/sentry-python/issues/3805">#3805</a>)</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-python/compare/2.18.0...2.19.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…autogpt_libs in the production-dependencies group across 1 directory (#8787) Bumps the production-dependencies group with 1 update in the /autogpt_platform/autogpt_libs directory: [pydantic](https://github.com/pydantic/pydantic). Updates `pydantic` from 2.9.2 to 2.10.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h2>v2.10.2 2024-11-26</h2> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Only evaluate <code>FieldInfo</code> annotations if required during schema building by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10769">#10769</a></li> <li>Do not evaluate annotations for private fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10962">#10962</a></li> <li>Support serialization as any for <code>Secret</code> types and <code>Url</code> types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10947">#10947</a></li> <li>Fix type hint of <code>Field.default</code> to be compatible with Python 3.8 and 3.9 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10972">#10972</a></li> <li>Add hashing support for URL types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10975">#10975</a></li> <li>Hide <code>BaseModel.__replace__</code> definition from type checkers by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10979">10979</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2">https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2</a></p> <h2>v2.10.1 2024-11-21</h2> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Bump <code>pydantic-core</code> version to <code>v2.27.1</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10938">#10938</a></li> </ul> <h3>Fixes</h3> <ul> <li>Use the correct frame when instantiating a parametrized <code>TypeAdapter</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10893">#10893</a></li> <li>Relax check for validated data in <code>default_factory</code> utils by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10909">#10909</a></li> <li>Fix type checking issue with <code>model_fields</code> and <code>model_computed_fields</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10911">#10911</a></li> <li>Use the parent configuration during schema generation for stdlib <code>dataclass</code>es by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10928">#10928</a></li> <li>Use the <code>globals</code> of the function when evaluating the return type of serializers and <code>computed_field</code>s by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10929">#10929</a></li> <li>Fix URL constraint application by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10922">#10922</a></li> <li>Fix URL equality with different validation methods by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10934">#10934</a></li> <li>Fix JSON schema title when specified as <code>''</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10936">#10936</a></li> <li>Fix <code>python</code> mode serialization for <code>complex</code> inference by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic-core/pull/1549">pydantic-core#1549</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.10.0...v2.10.1">https://github.com/pydantic/pydantic/compare/v2.10.0...v2.10.1</a></p> <h2>v2.10.0 2024-11-20</h2> <p>The code released in v2.10.0 is practically identical to that of v2.10.0b2. See the <a href="https://pydantic.dev/articles/pydantic-v2-10-release">v2.10 release blog post</a> for the highlights!</p> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Bump <code>pydantic-core</code> to <code>v2.27.0</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10825">#10825</a></li> <li>Replaced pdm with uv by <a href="https://github.com/frfahim"><code>@frfahim</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10727">#10727</a></li> </ul> <h3>New Features</h3> <ul> <li>Support <code>fractions.Fraction</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10318">#10318</a></li> <li>Support <code>Hashable</code> for json validation by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10324">#10324</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's changelog</a>.</em></p> <blockquote> <h2>v2.10.2 (2024-11-25)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.2">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Only evaluate FieldInfo annotations if required during schema building by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10769">#10769</a></li> <li>Do not evaluate annotations for private fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10962">#10962</a></li> <li>Support serialization as any for <code>Secret</code> types and <code>Url</code> types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10947">#10947</a></li> <li>Fix type hint of <code>Field.default</code> to be compatible with Python 3.8 and 3.9 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10972">#10972</a></li> <li>Add hashing support for URL types by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10975">#10975</a></li> <li>Hide <code>BaseModel.__replace__</code> definition from type checkers by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10979">10979</a></li> </ul> <h2>v2.10.1 (2024-11-21)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.1">GitHub release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> version to <code>v2.27.1</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10938">#10938</a></li> </ul> <h4>Fixes</h4> <ul> <li>Use the correct frame when instantiating a parametrized <code>TypeAdapter</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10893">#10893</a></li> <li>Relax check for validated data in <code>default_factory</code> utils by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10909">#10909</a></li> <li>Fix type checking issue with <code>model_fields</code> and <code>model_computed_fields</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10911">#10911</a></li> <li>Use the parent configuration during schema generation for stdlib <code>dataclass</code>es by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10928">#10928</a></li> <li>Use the <code>globals</code> of the function when evaluating the return type of serializers and <code>computed_field</code>s by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10929">#10929</a></li> <li>Fix URL constraint application by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10922">#10922</a></li> <li>Fix URL equality with different validation methods by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10934">#10934</a></li> <li>Fix JSON schema title when specified as <code>''</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic/pull/10936">#10936</a></li> <li>Fix <code>python</code> mode serialization for <code>complex</code> inference by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://github.com/pydantic/pydantic-core/pull/1549">pydantic-core#1549</a></li> </ul> <h3>New Contributors</h3> <h2>v2.10.0 (2024-11-20)</h2> <p>The code released in v2.10.0 is practically identical to that of v2.10.0b2.</p> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.10.0">GitHub release</a></p> <p>See the <a href="https://pydantic.dev/articles/pydantic-v2-10-release">v2.10 release blog post</a> for the highlights!</p> <h3>What's Changed</h3> <h4>Packaging</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/fe325154987b41345b356e5eb6d1584d7278bb0d"><code>fe32515</code></a> Prepare for v2.10.2 release (<a href="https://github.com/pydantic/pydantic/issues/10982">#10982</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/226cfaf62bcfbc2454f81eb46ffd5001ecc8baa7"><code>226cfaf</code></a> Hide <code>BaseModel.__replace__</code> definition from type checkers (<a href="https://github.com/pydantic/pydantic/issues/10979">#10979</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/02229a6ab176ae25d88f25e4c08fc84150558f86"><code>02229a6</code></a> hashing support for urls (<a href="https://github.com/pydantic/pydantic/issues/10975">#10975</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/a9cf39c32a786c4819584b83475aefb8dfa414cd"><code>a9cf39c</code></a> Fix type hint of <code>Field.default</code> to be compatible with Python 3.8 and 3.9 (<a href="https://github.com/pydantic/pydantic/issues/1">#1</a>...</li> <li><a href="https://github.com/pydantic/pydantic/commit/869eafd70bb46ecb93c2985ff829091a4da24806"><code>869eafd</code></a> Support serialization as any for <code>Secret</code> types and <code>Url</code> types (<a href="https://github.com/pydantic/pydantic/issues/10947">#10947</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/7c0ed72aa29410a49f2486745b4fbaad4079ec99"><code>7c0ed72</code></a> Do not evaluate annotations for private fields (<a href="https://github.com/pydantic/pydantic/issues/10962">#10962</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/d6fc7fce7d3636e7d3f4d89bef34a2a2f50d6c1d"><code>d6fc7fc</code></a> Only evaluate <code>FieldInfo</code> annotations if required during schema building (<a href="https://github.com/pydantic/pydantic/issues/10">#10</a>...</li> <li><a href="https://github.com/pydantic/pydantic/commit/17e60fafd66133be47352cb0a9b887664b5a6f2d"><code>17e60fa</code></a> spacing</li> <li><a href="https://github.com/pydantic/pydantic/commit/369b355dbafccb4fa9dd080d328f770d56fb0678"><code>369b355</code></a> remove typo</li> <li><a href="https://github.com/pydantic/pydantic/commit/4c75404d6b8faa7dbfe229f11b3bd68fc51b09ca"><code>4c75404</code></a> Prepare for v2.10.1 release (<a href="https://github.com/pydantic/pydantic/issues/10939">#10939</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.9.2...v2.10.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pydantic&package-manager=pip&previous-version=2.9.2&new-version=2.10.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> 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>
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
Could you update the checklists in the description? Especially relevant since this PR has a config change. |
autogpt_platform/frontend/src/components/feature-flag/with-feature-flag.tsx
Show resolved
Hide resolved
autogpt_platform/frontend/src/components/feature-flag/with-feature-flag.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice & simple! Just a question: does this only work for enabling/disabling full pages or also individual components?
The PR description also mentions A/B testing. How would you do that using withFeatureFlags
?
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
rn, just for full pages - we can expand later to individual components too, I'll add a ticket
We can configure/control on the launch darkly side how many users we show what feature to. We'll probably at some point want to extend to choosing specific users, but haven't had that requirement yet. I'll add docs for the launch darkly side as well on notion so it's clear how to use it. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
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:
Usage:
Checklist 📋
For code changes:
Test plan
- Set LD to false - Navigate to a test page, should not be visible - Set LD to true - Navigate to same test page, should be visibleFor configuration changes:
.env.example
is updated or already compatible with my changesExamples of configuration changes