Commit graph

11,105 commits

Author SHA1 Message Date
waterstark
faee93e562
feat: make AIML load dynamically and fix minor issues (#4374)
* Added auto upgrade for list of AIML models, minor fixes for AIML component

* fix minor issues

* Fix minor issues

* Fix embeddings

* Resolve conflicts

* refactor: clean up imports and improve type hints in AIML components

* Fix import path for AIMLEmbeddingsImpl in aiml.py

* Fix update_build_config

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-11-19 13:27:03 +00:00
Gabriel Luiz Freitas Almeida
7614cfbac6
refactor: Remove unnecessary exception logging and improve error logging (#4676)
* Remove unnecessary exception logging in API key decryption

* Removes unnecessary exception logging in services

* fix: Change debug logging to error logging for user last login update

* fix: Enhance error logging to include exception details in various services
2024-11-19 12:24:42 +00:00
Eric Hare
6133fed90a
fix: Ensure the service selection comes before the choice (#4692)
* fix: Ensure the service selection comes before the choice

* Update components-vector-stores.md
2024-11-19 01:44:42 +00:00
anovazzi1
e6cd335b1c
refactor: time and use waitForSelector in filterSidebar.spec.ts (#4609)
* refactor: Improve time and use waitForSelector in filterSidebar.spec.ts

* refactor: Improve time and use waitForSelector in filterSidebar.spec.ts
2024-11-18 17:08:26 -08:00
anovazzi1
4965971901
refactor: Improve performance in logs.spec.ts and format code (#4671)
* improve performance in logs

* format code
2024-11-18 17:08:04 -08:00
Eric Hare
2fa258068d
fix: CrewAI-based flows with no extra openai (#4683)
* fix: CrewAI-based flows with no extra openai

* [autofix.ci] apply automated fixes

* Clean up the location of the crewai model processing

* [autofix.ci] apply automated fixes

* Properly subclass the tasks and agents method

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-18 23:04:07 +00:00
Eric Hare
31885175e5
feat: Add support for dynamic providers in Astra DB Comp (#4627)
* feat: Add support for dynamic providers in Astra DB Comp

* [autofix.ci] apply automated fixes

* Make sure we return a default dict

* Rename params in starter template

* Update test_vector_store_rag.py

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-18 22:42:15 +00:00
anovazzi1
cd2517f7e2
refactor: improve tests for group and keyBoardComponentSearch tests (#4621)
* refactor: Remove unnecessary wait in group.spec.ts

* refactor: Improve keyboard component search tests

Improve the keyboard component search tests by using waitForSelector instead of waitForTimeout for better reliability and stability.
2024-11-18 14:09:24 -08:00
Edwin Jose
3d768ea041
fix: make provider switching work by setting attributes on SecretStrInput for Agent Component Inputs (#4643)
* Refactor `process_inputs` function to handle `SecretStrInput`

- Reset `value` and disable `load_from_db` for `SecretStrInput` instances.

* [autofix.ci] apply automated fixes

* Update model_input_constants.py

Optimize input processing for speed improvements

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-18 13:18:33 -08:00
anovazzi1
a0cd179258
refactor: Improve time and use waitForSelector in folder tests (#4614)
* refactor: Improve time and use waitForSelector in folder tests

* add comment for documentation

* Refactor componentHoverAdd test to use opacity check instead of exact value
2024-11-18 13:03:06 -08:00
Deon Sanchez
b9ffce2a8f
fix: Update background color in FlowMenu dropdown (#4681)
Updated the background color in the FlowMenu dropdown to match the dark theme background. This ensures a consistent and visually appealing user experience.

Refactor the code in `src/frontend/src/components/appHeaderComponent/components/FlowMenu/index.tsx` to change the `DropdownMenuContent` class from `bg-white` to `bg-background`.
2024-11-18 20:43:11 +00:00
Gabriel Luiz Freitas Almeida
160409d19c
refactor: Enhance migration script with column existence check and improved error handling (#4680)
* Enhance migration script with column existence check and improved error handling

* Refactor migration script to use `column_exists` with explicit parameters
2024-11-18 20:21:58 +00:00
Edwin Jose
c3dbabbd35
feat: add latest models to Google Generative AI, Anthropic Models (#4685)
* updated models

models updates

* Update google_generative_ai_constants.py

formatting
2024-11-18 18:36:35 +00:00
anovazzi1
596c27b23e
fix: error on fetch for no headers on request (#4624)
* fix: error on fetch for no headers on request
2024-11-18 16:45:05 +00:00
Gabriel Luiz Freitas Almeida
5df085410b
fix: update Tavily URL in Sequential Tasks Agents starter project (#4675)
Refactor JSON formatting and update Tavily URL in Sequential Tasks Agents configuration
2024-11-18 16:19:04 +00:00
Cristhian Zanforlin Lousa
af1a8b7944
fix(TextAreaComponent): Update focus state padding and icon visibility (#4630)
🔧 (textAreaComponent/index.tsx): remove unnecessary conditional class 'opacity-0' when component is focused
2024-11-18 16:02:57 +00:00
Gabriel Luiz Freitas Almeida
13620629d1
fix: Ensure chat inputs with dependencies are not prioritized in graph sorting (#4666)
Ensure chat inputs with dependencies are not sorted to the first layer in graph.
2024-11-18 15:35:08 +00:00
Gabriel Luiz Freitas Almeida
a86a7a2df6
fix: Add worker_task attribute to TelemetryService to prevent AttributeError (#4670)
Add worker_task attribute to TelemetryService to avoid AttributeError
2024-11-18 15:12:00 +00:00
Gabriel Luiz Freitas Almeida
9ec66cdb13
fix: Add check for 'set_event_manager' method in custom_component before calling it (#4668)
Add check for 'set_event_manager' method in custom_component before calling it
2024-11-18 14:02:04 +00:00
Gabriel Luiz Freitas Almeida
95779c8cef
fix: Ensure attribute existence before accessing in AgentExecutor initialization (#4667)
* Add attribute check for 'chat_history' before accessing it in agent.py

* Ensure attribute existence before accessing in AgentExecutor initialization
2024-11-18 13:38:11 +00:00
Christophe Bornet
a7aa3ab03f
fix: Use AsyncSession in delete_vertex_builds (#4653)
Use AsyncSession in delete_vertex_builds
2024-11-17 11:51:24 +00:00
Christophe Bornet
da01f5c723
fix: Use AsyncSession in build_graph_from_db (#4649)
Use AsyncSession in build_graph_from_db
2024-11-17 12:35:15 +01:00
Eric Hare
efe6407324
fix: Rename namespace to keyspace in astra db (#4635) 2024-11-16 08:01:10 -08:00
Christophe Bornet
6573ca14cc
fix: Use AsyncSession for user management (#4491)
* Use AsyncSession for user management

* Simplify check_key

* Don't trigger blockbuster on settings service initialize

* Fix mypy

* Fix api key update_total_uses

* Fix auto-login

* Revert making CustomComponent.list_key_names async
2024-11-16 01:09:33 +00:00
Lucas Oliveira
2881346400
fix: change color of output inspector when tool mode, change fuzzy search order, fix image download and some minor issues (#4625)
* Fixed output and input radius and icons colors when on tool mode

* Replaced output format to be camel case

* Fix expand not appearing after minimize and change code

* Refactor chatView component and add FlowRunningSqueleton

- Refactor chatView component to import useMemo from react
- Add FlowRunningSqueleton component to display flow running indicator
- fix gagging on flow running

* format code

* Fixed fuzzy search order

* remove console log

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2024-11-15 10:13:12 -06:00
Deon Sanchez
88c059677e
refactor: Update layout in emptyFolder and homePage components (#4623) 2024-11-15 02:30:56 -07:00
Jordan Frazier
7c048650e0
chore: move alembic exception logging to debug (#4620)
move alembic exception logging to debug
2024-11-14 21:13:21 +00:00
Phil Miesle
44b0531f6b
feat: add NestedDictInput filter and non-vector search for AstraVectorStoreComponent (#4564)
* NestedDictInput filter and non-vector search for AstraVectorStoreComponent

* [autofix.ci] apply automated fixes

* addressing Ruff linting

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
2024-11-14 20:55:25 +00:00
anovazzi1
0461baf10a
refactor: Improve time and use waitForSelector instead of timeouts in main page tests (#4601)
* improve test time

* exchange timout for wait for selector

* fix: improve wait time for modals in search components test

* update timer limit
2024-11-14 19:38:41 +00:00
anovazzi1
076bc314ed
refactor: Remove unnecessary wait timeouts in chat components tests (#4605)
* refactor: Remove unnecessary wait timeouts in chatInputOutputUser-shard-0.spec.ts

* update timer limit
2024-11-14 19:20:47 +00:00
Lucas Oliveira
3391a266a4
fix: update notes border color, update node and notes code block background (#4617)
* Fixed code block color on notes and node

* Changed color of list bullets

* Changed selected border color for note node

* [autofix.ci] apply automated fixes

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-11-14 19:00:13 +00:00
anovazzi1
349a1fe284
refactor: Improve time and use waitForSelector in auto-login tests (#4603)
* improve usage of waitForSelector

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-14 08:56:33 -08:00
Ítalo Johnny
7d9315b356
fix: missing sqlite dialect (#4599)
fix: missing sqlite dialect import
2024-11-14 16:30:55 +00:00
dhlidongming
af546551bc
fix: resolve potential deadlock in AsyncInMemoryCache (#4464)
* Fix potential lock misuse and deadlock in AsyncInMemoryCache.

* Recover async lock handling logic.

* Remove unused lock parameter in upsert.

* Fix potential lock misuse and deadlock in AsyncInMemoryCache.

* Recover async lock handling logic.

* Remove unused lock parameter in upsert.

* Add lock parameter to prevent errors.

* Fix ARG002 rule error.

* Lock passed to get and set method.

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-11-14 11:44:21 +00:00
dhlidongming
0f5c31fd08
fix: correct user_id access logic (#4595)
fix: correct user_id access logic.
2024-11-14 10:31:02 +00:00
Eric Hare
2cf3881dc6
fix: Upgrade astradb version and graph db component (#4580) 2024-11-13 12:24:25 -08:00
Deon Sanchez
2b00041e4d
refactor: Minor style fixes (#4578)
* refactor: Update AccountMenu and Select components

- Refactor AccountMenu component to improve readability and simplify logic
- Update Select component to add support for direction prop and display ChevronUp icon when direction is set to "up"

Related work items: #4569, #4565

* refactor: Update header component UI

This commit refactors the header component in the MainPage to update its UI. It adds a sliding indicator for the view type (list or grid) and adjusts the styling of the buttons accordingly. It also removes commented out code related to the store button. Additionally, the commit updates the emptyFolder component by simplifying the text for the "New Flow" button.

Refactor the header component UI and update emptyFolder component

* refactor: Update HeaderMenu component UI

* Updated colors to use shadcn variables

---------

Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
2024-11-13 20:07:49 +00:00
Lucas Oliveira
da0399373a
fix: improve js api code and fix tooltip z-index (#4577)
* Updated JS API code to simplify request

* Fixed tooltip z index

* Fix sidebar not working some buttons in collapsed state
2024-11-13 19:35:42 +00:00
anovazzi1
34b107b98e
fix: process.py to use validate_and_repair_json from utils.py (#4576)
Refactor process.py to use validate_and_repair_json from utils.py for nested dict tweaks
2024-11-13 10:58:40 -08:00
Gabriel Luiz Freitas Almeida
f78d3f40a5
chore: Bump version to 1.1.0 and 0.1.0 for langflow and langflow-base (#4574)
Bump version to 1.1.0 in pyproject.toml files
2024-11-13 10:45:08 -08:00
Cristhian Zanforlin Lousa
4e2ee25da8
test: Enhance test stability (#4566)
* 🐛 (genericIconComponent/index.tsx): fix optional chaining for split and map functions to prevent errors
🐛 (actionsMainPage-shard-1.spec.ts): remove redundant zoom_out click
🐛 (auto-login-off.spec.ts): reduce wait time from 2000ms to 1000ms
🐛 (freeze-path.spec.ts): change click target from "openai" to "OpenAI" for consistency
🐛 (freeze.spec.ts): change click target from "Split Text" to "Split Text" for consistency
🐛 (Dynamic Agent.spec.ts): skip test execution
🐛 (Hierarchical Agent.spec.ts): skip test execution
🐛 (Sequential Task Agent.spec.ts): skip test execution
🐛 (Simple Agent.spec.ts): skip test execution
🐛 (decisionFlow.spec.ts): change search input from "conditional router" to "if else"
🐛 (similarity.spec.ts): change search input from "openai" to "openai embedding"
🐛 (fileUploadComponent.spec.ts): enable test for file upload functionality

📝 (deleteComponents.spec.ts): Remove commented out code and enable test for deleting a component
📝 (deleteFlows.spec.ts): Enable test for deleting a flow
📝 (starter-projects.spec.ts): Enable test for interacting with starter projects
📝 (store-shard-3.spec.ts): Enable tests for ordering visualization and filtering by type
📝 (generalBugs-shard-13.spec.ts): Enable test for sharing a component on the store

* ⬆️ (typescript_test.yml): update matrix configuration to run tests on multiple shards for better parallelization
🔧 (typescript_test.yml): enable playwright test execution with shard index and total for parallel test execution

* 🐛 (genericIconComponent/index.tsx): fix optional chaining for split and map functions to prevent errors
🐛 (actionsMainPage-shard-1.spec.ts): remove redundant zoom_out click
🐛 (auto-login-off.spec.ts): reduce wait time from 2000ms to 1000ms
🐛 (freeze-path.spec.ts): change click target from "openai" to "OpenAI" for consistency
🐛 (freeze.spec.ts): change click target from "Split Text" to "Split Text" for consistency
🐛 (Dynamic Agent.spec.ts): skip test execution
🐛 (Hierarchical Agent.spec.ts): skip test execution
🐛 (Sequential Task Agent.spec.ts): skip test execution
🐛 (Simple Agent.spec.ts): skip test execution
🐛 (decisionFlow.spec.ts): change search input from "conditional router" to "if else"
🐛 (similarity.spec.ts): change search input from "openai" to "openai embedding"
🐛 (fileUploadComponent.spec.ts): enable test for file upload functionality

📝 (deleteComponents.spec.ts): Remove commented out code and enable test for deleting a component
📝 (deleteFlows.spec.ts): Enable test for deleting a flow
📝 (starter-projects.spec.ts): Enable test for interacting with starter projects
📝 (store-shard-3.spec.ts): Enable tests for ordering visualization and filtering by type
📝 (generalBugs-shard-13.spec.ts): Enable test for sharing a component on the store

* ⬆️ (typescript_test.yml): update matrix configuration to run tests on multiple shards for better parallelization
🔧 (typescript_test.yml): enable playwright test execution with shard index and total for parallel test execution

* 🐛 (Travel Planning Agent.spec.ts): Fix issue with setting API keys for OpenAI models and Search API
🐛 (Travel Planning Agent.spec.ts): Fix issue with clicking the wrong button for running chat output
🐛 (Travel Planning Agent.spec.ts): Fix issue with checking rate limit and skipping test logic
🐛 (Travel Planning Agent.spec.ts): Fix issue with checking output text for lowercase city names
🐛 (Vector Store.spec.ts): Fix issue with clicking the wrong button for creating a new flow
🐛 (Vector Store.spec.ts): Fix issue with filling the wrong input field for collection name in Vector Store RAG test

* 🔧 (generalBugs-shard-4.spec.ts): skip test case temporarily due to functionality not working with uplift designs

* Update test to use 'message history' instead of 'chat memory' in sidebar search input

* Update test selectors and expected values in dropdownComponent.spec.ts

* 📝 (Simple Agent.spec.ts): Remove unnecessary test.skip and commented out code
📝 (dropdownComponent.spec.ts): Update dropdown selection to match new text
📝 (starter-projects.spec.ts): Remove unused template IDs
📝 (store-shard-1.spec.ts): Update test.skip to test.skip for consistency
📝 (generalBugs-shard-10.spec.ts): Refactor test cases for promptText and newPromptText
📝 (generalBugs-shard-6.spec.ts): Add delay before interacting with elements to ensure stability

* Refactor tests to use `ControlOrMeta` for cross-platform keyboard shortcuts

*  (Simple Agent.spec.ts): update timeout value for waitForSelector to improve test reliability and prevent false negatives

* Handle undefined stars in GithubStarComponent to prevent errors

* Add waitForSelector to ensure sidebar search input is visible before interaction in chatInputOutput test

*  (Simple Agent.spec.ts): update timeout value to 5 minutes for "built successfully" message to allow for longer build times
 (Simple Agent.spec.ts): add additional test cases to check for the presence of "apple" in chat messages and ensure the total length of chat messages is greater than 100 characters

* 🐛 (Simple Agent.spec.ts): reduce timeout for "built successfully" text to improve test efficiency

*  (auto-login-off.spec.ts): add delay before checking visibility of elements to ensure proper rendering and improve test reliability

* Fix indentation in TypeScript test workflow file

* Update test IDs and expected values in dropdownComponent.spec.ts

* 📝 (playground.spec.ts): remove redundant code related to zooming out and dragging elements in the playground test
📝 (deleteComponents.spec.ts): update selectors for clicking buttons and elements in the deleteComponents test
📝 (deleteFlows.spec.ts): update selectors for clicking buttons and elements in the deleteFlows test
📝 (starter-projects.spec.ts): update selectors for starter projects in the extended features test to match changes in the application's UI.

*  (playground.spec.ts): remove skip from the test case to enable it to run during testing.

* Refactor timeout in playground test for better stability

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-11-13 18:11:51 +00:00
Lucas Oliveira
563b90ef28
fix: changes get started templates image, adds set color index to every starter template (#4569)
* Updated image to show entire grid

* Changed swatch index to use id

* Updated swatch index to not have negative numbers

* Updated starter examples to have the gradients already defined

* Make forked flow have the same color as the template
2024-11-13 14:59:02 +00:00
Eric Hare
3a73e01032
fix: Astra DB Graph Vector Store langchain 0.3.x (#4568) 2024-11-13 14:37:02 +00:00
Gabriel Luiz Freitas Almeida
151c369c6b
refactor: update starter projects to newest version of Components (#4565)
* refactor: update MemoryComponent display name and improve description

* Refactor `update_build_config` method to enhance provider-specific configuration handling in `Instagram Copywriter.json`

* Refactor `update_build_config` method to support provider-specific updates in `Market Research.json`

* Update `MemoryComponent` display name to "Message History" in starter template JSON

* Refactor `update_build_config` method to support component-specific updates in `Research Agent.json`

* Refactor `update_build_config` method to enhance provider-specific configuration handling in `SaaS Pricing.json`

* Refactor import path for MemoryComponent in starter project JSON files

* Update starter templates with enhanced build config logic and improved Yahoo Finance tool description

* Update import path for MemoryComponent in Travel Planning Agents template

* Update `update_build_config` method to call provider-specific `update_build_config` methods if available
2024-11-13 05:35:05 -08:00
Edwin Jose
5bb588c5cb
fix: aws components and model lists (#4560)
* models updated

removed image models,
It was removed earlier but some PR Messed up the list again.

* Update aws_constants.py

image embedd removed
2024-11-13 13:07:22 +00:00
Cristhian Zanforlin Lousa
9d98fbaa11
refactor(NodeToolbar): Remove open prop from Select component (#4563)
🔧 (nodeToolbarComponent/index.tsx): remove unnecessary 'open' prop from Select component to fix a UI issue
2024-11-13 12:23:18 +00:00
Cristhian Zanforlin Lousa
654d4815dc
refactor: standardize toolbar select item widths and improve alignment (#4539)
* 📝 (select-custom.tsx): Update styling in SelectItem component to improve consistency and readability
📝 (nodeToolbarComponent/index.tsx): Refactor SelectItem components to include consistent width styling for better alignment and visual appeal

*  (nodeToolbarComponent/index.tsx): Center align select items by adding 'm-auto' class to improve visual presentation.

*  (GenericNode/index.tsx): Add functionality to toggle show more options in GenericNode component
🔧 (nodeToolbarComponent/index.tsx): Pass setOpenShowMoreOptions function to toggle show more options in NodeToolbarComponent
📝 (components/index.ts): Update nodeToolbarPropsType to include setOpenShowMoreOptions function for better type checking

*  (nodeToolbarComponent/index.tsx): Update styles and dimensions for better UI consistency and alignment in the Node Toolbar Component.

* 🔧 (nodeToolbarComponent/index.tsx): Remove unnecessary 'm-auto' class from SelectItem components to improve code readability and reduce redundancy.

* 📝 (select-custom.tsx): Update styling in SelectItem component to improve consistency and readability
📝 (nodeToolbarComponent/index.tsx): Refactor SelectItem components to include consistent width styling for better alignment and visual appeal

*  (nodeToolbarComponent/index.tsx): Center align select items by adding 'm-auto' class to improve visual presentation.

*  (GenericNode/index.tsx): Add functionality to toggle show more options in GenericNode component
🔧 (nodeToolbarComponent/index.tsx): Pass setOpenShowMoreOptions function to toggle show more options in NodeToolbarComponent
📝 (components/index.ts): Update nodeToolbarPropsType to include setOpenShowMoreOptions function for better type checking

*  (nodeToolbarComponent/index.tsx): Update styles and dimensions for better UI consistency and alignment in the Node Toolbar Component.

* 🔧 (nodeToolbarComponent/index.tsx): Remove unnecessary 'm-auto' class from SelectItem components to improve code readability and reduce redundancy.

*  (actionsMainPage-shard-1.spec.ts): Update test descriptions to use "Document Q&A" instead of "Document QA" for consistency
📝 (Basic Prompting.spec.ts, Blog Writer.spec.ts, Document QA.spec.ts, Dynamic Agent.spec.ts, Hierarchical Agent.spec.ts, Memory Chatbot.spec.ts, Sequential Task Agent.spec.ts, Simple Agent.spec.ts, Travel Planning Agent.spec.ts, Vector Store.spec.ts): Remove 'skip' from test descriptions to enable running the tests.

* 🔧 (typescript_test.yml): Update shardIndex and shardTotal values to run tests on a single shard for simplicity
📝 (typescript_test.yml): Comment out unused test commands to improve readability and reduce confusion
 (starter-projects.spec.ts): Remove skip from test case to ensure it is executed as intended
2024-11-13 09:03:48 -03:00
Cristhian Zanforlin Lousa
8d89bf4ff4
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>
2024-11-12 20:19:24 -08:00
Gabriel Luiz Freitas Almeida
f978223744
fix: Add session_id and graph parameters to flow execution functions and update graph init in Flow as Tool (#4558)
* Add session_id and graph parameters to flow function and update graph initialization logic

* Enhance `FlowTool` with user and session context in graph creation

* Add session_id and graph parameters to flow execution functions
2024-11-12 19:45:38 -08:00
anovazzi1
1cd21e56d3
fix: Update setup of templates to consider component type (#4523)
* update setup of templates to update components considering it's type instead of the display name

* Add Amazon Bedrock as a model provider and update agent component logic

- Added "Amazon Bedrock" to the list of model provider options in multiple JSON files.
- Updated the `AgentComponent` class to include `get_model_name` for retrieving the model name.
- Changed the `tools` field requirement to optional in several JSON files.
- Added a `legacy` field to the Blog Writer JSON configuration.

* update main descriptions

* Skip tests for Basic Prompting, Blog Writer, Document QA, Dynamic Agent, Hierarchical Tasks Agent, Memory Chatbot, Sequential Task Agent, Simple Agent, Travel Planning Agent, and Vector Store RAG

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-11-12 19:45:15 -08:00