diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80c9b9290..3a60d6fb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,6 +98,8 @@ jobs: secrets: OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}" STORE_API_KEY: "${{ secrets.STORE_API_KEY }}" + ANTHROPIC_API_KEY: "${{ secrets.ANTHROPIC_API_KEY }}" + TAVILY_API_KEY: "${{ secrets.TAVILY_API_KEY }}" lint-backend: needs: path-filter @@ -105,7 +107,6 @@ jobs: name: Lint Backend uses: ./.github/workflows/lint-py.yml - test-docs-build: needs: path-filter if: ${{ needs.path-filter.outputs.docs == 'true' }} diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 77691c7ac..70f0c21b4 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -136,6 +136,8 @@ jobs: secrets: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} STORE_API_KEY: ${{ secrets.STORE_API_KEY }} + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }} backend-unit-tests: if: github.repository == 'langflow-ai/langflow' diff --git a/.github/workflows/typescript_test.yml b/.github/workflows/typescript_test.yml index 0a2709b6b..db242b337 100644 --- a/.github/workflows/typescript_test.yml +++ b/.github/workflows/typescript_test.yml @@ -7,12 +7,16 @@ on: required: true STORE_API_KEY: required: true + ANTHROPIC_API_KEY: + required: true + TAVILY_API_KEY: + required: true inputs: suites: description: "Test suites to run (JSON array)" required: false type: string - default: "[]" + default: '[]' release: description: "Whether this is a release build" required: false @@ -223,6 +227,8 @@ jobs: SEARCH_API_KEY: "${{ secrets.SEARCH_API_KEY }}" ASTRA_DB_APPLICATION_TOKEN: "${{ secrets.ASTRA_DB_APPLICATION_TOKEN }}" ASTRA_DB_API_ENDPOINT: "${{ secrets.ASTRA_DB_API_ENDPOINT }}" + ANTHROPIC_API_KEY: "${{ secrets.ANTHROPIC_API_KEY }}" + TAVILY_API_KEY: "${{ secrets.TAVILY_API_KEY }}" UV_CACHE_DIR: /tmp/.uv-cache outputs: failed: ${{ steps.check-failure.outputs.failed }} diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx index b2388ebfe..b8460ad5a 100644 --- a/src/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx @@ -365,6 +365,7 @@ export default function GenericNode({ className="shrink-0 px-2.5 text-xs" onClick={handleUpdateCode} loading={loadingUpdate} + data-testid="update-button" > Update diff --git a/src/frontend/src/components/core/codeTabsComponent/ChatCodeTabComponent.tsx b/src/frontend/src/components/core/codeTabsComponent/ChatCodeTabComponent.tsx index 8c2cf5c42..945c6a53a 100644 --- a/src/frontend/src/components/core/codeTabsComponent/ChatCodeTabComponent.tsx +++ b/src/frontend/src/components/core/codeTabsComponent/ChatCodeTabComponent.tsx @@ -31,7 +31,10 @@ export default function SimplifiedCodeTabComponent({ }; return ( -