refactor: reorganize memory components and enhance model inputs with improved documentation (#4529)
* new components improvements * ✨ (create_data.py): introduce a new 'legacy' attribute to mark the component as legacy code * [autofix.ci] apply automated fixes * chaing langchain hub name * 📝 (run_flow.py): remove beta flag from RunFlowComponent to indicate it is no longer in beta 📝 (extract_key.py): remove beta flag from ExtractDataKeyComponent to indicate it is no longer in beta * Updated generic icon component to load icons if already not lazy imported * [autofix.ci] apply automated fixes * merge fix * 📝 (store_message.py): add 'advanced' parameter to the 'Session ID' field to indicate it is an advanced setting * [autofix.ci] apply automated fixes * new components sweep * [autofix.ci] apply automated fixes * fix tests * [autofix.ci] apply automated fixes * ✨ (filterSidebar.spec.ts): Update test descriptions to reflect the correct component names for better clarity and maintainability ♻️ (freeze.spec.ts): Refactor test to use the correct component name for consistency and readability ♻️ (stop-building.spec.ts): Refactor test to use the correct component name for consistency and readability ♻️ (generalBugs-shard-9.spec.ts): Refactor test to use the correct component name for consistency and readability ♻️ (filterEdge-shard-1.spec.ts): Refactor test to use the correct component name for consistency and readability * style: Improve YahooFinanceToolComponent description and code readability Enhance clarity in the component's purpose and refine inline formatting to boost maintainability. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
f978223744
commit
8d89bf4ff4
48 changed files with 63 additions and 58 deletions
|
|
@ -84,7 +84,7 @@ test("user must see on handle click the possibility connections - LLMChain", asy
|
|||
await expect(page.getByTestId("outputsChat Output")).toBeVisible();
|
||||
await expect(page.getByTestId("promptsPrompt")).toBeVisible();
|
||||
await expect(page.getByTestId("modelsAmazon Bedrock")).toBeVisible();
|
||||
await expect(page.getByTestId("memoriesChat Memory")).toBeVisible();
|
||||
await expect(page.getByTestId("helpersMessage History")).toBeVisible();
|
||||
await expect(page.getByTestId("langchain_utilitiesCSVAgent")).toBeVisible();
|
||||
await expect(
|
||||
page.getByTestId("langchain_utilitiesConversationChain"),
|
||||
|
|
@ -106,7 +106,7 @@ test("user must see on handle click the possibility connections - LLMChain", asy
|
|||
await expect(page.getByTestId("outputsChat Output")).not.toBeVisible();
|
||||
await expect(page.getByTestId("promptsPrompt")).not.toBeVisible();
|
||||
await expect(page.getByTestId("modelsAmazon Bedrock")).not.toBeVisible();
|
||||
await expect(page.getByTestId("memoriesChat Memory")).not.toBeVisible();
|
||||
await expect(page.getByTestId("helpersMessage History")).not.toBeVisible();
|
||||
await expect(page.getByTestId("agentsTool Calling Agent")).not.toBeVisible();
|
||||
await expect(
|
||||
page.getByTestId("langchain_utilitiesConversationChain"),
|
||||
|
|
@ -123,7 +123,7 @@ test("user must see on handle click the possibility connections - LLMChain", asy
|
|||
await expect(page.getByTestId("disclosure-tools")).toBeVisible();
|
||||
|
||||
await expect(page.getByTestId("dataAPI Request")).toBeVisible();
|
||||
await expect(page.getByTestId("memoriesChat Memory")).toBeVisible();
|
||||
await expect(page.getByTestId("helpersMessage History")).toBeVisible();
|
||||
await expect(page.getByTestId("vectorstoresAstra DB")).toBeVisible();
|
||||
await expect(page.getByTestId("toolsSearch API")).toBeVisible();
|
||||
await expect(page.getByTestId("logicSub Flow")).not.toBeVisible();
|
||||
|
|
@ -136,17 +136,17 @@ test("user must see on handle click the possibility connections - LLMChain", asy
|
|||
|
||||
await expect(page.getByTestId("logicSub Flow")).toBeVisible();
|
||||
|
||||
await expect(page.getByTestId("helpersSplit Text")).toBeVisible();
|
||||
await expect(page.getByTestId("processingSplit Text")).toBeVisible();
|
||||
await expect(page.getByTestId("toolsSearch API")).toBeVisible();
|
||||
|
||||
await page.getByTestId("icon-X").first().click();
|
||||
|
||||
await expect(page.getByTestId("dataAPI Request")).not.toBeVisible();
|
||||
await expect(page.getByTestId("memoriesChat Memory")).not.toBeVisible();
|
||||
await expect(page.getByTestId("helpersMessage History")).not.toBeVisible();
|
||||
await expect(page.getByTestId("vectorstoresAstra DB")).not.toBeVisible();
|
||||
await expect(page.getByTestId("toolsSearch API")).not.toBeVisible();
|
||||
await expect(page.getByTestId("logicSub Flow")).not.toBeVisible();
|
||||
|
||||
await expect(page.getByTestId("helpersSplit Text")).not.toBeVisible();
|
||||
await expect(page.getByTestId("processingSplit Text")).not.toBeVisible();
|
||||
await expect(page.getByTestId("toolsSearch API")).not.toBeVisible();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ test("user must be able to freeze a component", async ({ page }) => {
|
|||
await page.waitForTimeout(1000);
|
||||
|
||||
await page
|
||||
.getByTestId("helpersSplit Text")
|
||||
.getByTestId("processingSplit Text")
|
||||
.dragTo(page.locator('//*[@id="react-flow-id"]'));
|
||||
|
||||
await page.getByTestId("zoom_out").click();
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ test("user must be able to stop a building", async ({ page }) => {
|
|||
// await page.waitForTimeout(1000);
|
||||
|
||||
await page
|
||||
.getByTestId("helpersSplit Text")
|
||||
.getByTestId("processingSplit Text")
|
||||
.dragTo(page.locator('//*[@id="react-flow-id"]'));
|
||||
|
||||
await page.getByTestId("zoom_out").click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue