Commit graph

14,357 commits

Author SHA1 Message Date
Edwin Jose
699ec18205
fix: add Groq Model Constants (#4689)
* upddate in groq models

groq models updated

* [autofix.ci] apply automated fixes

* Update model_input_constants.py

remove groq prefix

* Update groq.py

updated Groq Model list to be also a backup list if the API call fails, also at start.

* Update groq.py

format issue solved

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-19 05:28:34 -08:00
Jordan Frazier
50aa61826c
fix: is null sql statement (#4690)
* fix is null sql statement

* use == since linter complains about is_

* [autofix.ci] apply automated fixes

* ignore error

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-19 05:27:17 -08:00
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
Jonathan Kurten
64ac6dd9d9
fix: update hero and integrations image in readme (#4628)
* Update hero and integrations image in readme

* Fix border radius on hero asset

---------

Co-authored-by: Nadir J <31660040+NadirJ@users.noreply.github.com>
2024-11-18 10:43:19 -08: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
Mendon Kissling
8bb9c015a3
Docs: upgrade and pin docusaurus to v3.5.2 (#4646)
* fix: Update Docusaurus dependencies to version 3.5.2

* upgrade-docusaurus-packages
2024-11-18 18:00:05 +00:00
Cristhian Zanforlin Lousa
50ac92dda4
docs: add icons component with lucide-react integration (#4682)
*  (package.json): add lucide-react package to dependencies for using Lucide icons in the project
 (index.tsx): create a new Icon component to render Lucide icons with specified name, size, and color properties

* ♻️ (package.json): remove lucide-react dependency as it is no longer needed in the project

* ⬆️ (package.json): upgrade lucide-react dependency to version 0.460.0
2024-11-18 09:55:02 -08: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
Gabriel Luiz Freitas Almeida
467e546e8e
docs: Update local run instructions in CONTRIBUTING.md (#4615)
* docs: Update local run instructions in CONTRIBUTING.md

* chore: Remove pipx check and environment compatibility check from Makefile
2024-11-14 18:24:07 +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
Gabriel Luiz Freitas Almeida
83f23a68a7
chore: Add hero image file (#4606)
Add hero image
2024-11-14 07:44:28 -08:00
Gabriel Luiz Freitas Almeida
533fc1f915
chore: Revert "Fix: New Logo is not updated in README.md" (#4604)
Revert "Fix: New Logo is not updated in README.md (#4589)"

This reverts commit 5e69628e35.
2024-11-14 07:40:10 -08: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
Gabriel Luiz Freitas Almeida
4723ab4ce5
ci: Exclude specific components from Codspeed workflow paths (#4596)
Exclude specific components from Codspeed workflow paths
2024-11-14 11:28: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
Lucas Oliveira
2f96dbbdd4
docs: replace documentation icon and primary color (#4582)
* Updated primary color to be pink

* Updated primary color and header logo

* Updated favico

* Updated icon on Mendable search for docs

* Yarn.lock update

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-11-14 09:58:42 +00:00
Irshad Ahamed M B
5e69628e35
Fix: New Logo is not updated in README.md (#4589)
New Logo is not updated in README
2024-11-14 09:51:00 +00:00
Mendon Kissling
0709625680
Docs: agents (#4561)
* add-agents-and-logic-components

* init

* agent-overview

* component

* fix: correct formatting in tool-calling-agent-component documentation

* remove-component-doc

* more-content

* cleanup-nav

* add-agents-and-logic-components

* init

* agent-overview

* component

* fix: correct formatting in tool-calling-agent-component documentation

* remove-component-doc

* more-content

* cleanup-nav

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* Enhance documentation for creating problem-solving agents and using components as tools

* clarify-tool-mode

* remove-empty-headers

* Update title in agents overview documentation

* Refine descriptions in components-logic documentation for clarity and consistency

* Remove unnecessary prerequisite for Langflow installation in agent tool documentation

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* Improve documentation for agent and logic components

* Clarify description of AgentComponent in agent tool documentation

* update-screenshot

* agent-as-tool

* update-screenshots

* make-component-a-tool

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2024-11-14 01:00:41 +00:00
Mendon Kissling
c7f688ceda
Docs: update screenshots with new UI changes (#4579)
* remove-images

* logs-pane

* logs

* more-logs

* langsmith-langwatch

* guides-folder

* quickstart

* follow-image

* getting-started-folder

* share-store-change

* workspace-old-images

* component-folder

* deployment-folder

* configuration-folder

* delete-venv

* favicon-footer-header

* favicon-bw-and-replace-gif

* docs: Update prerequisites and terminology in Getting Started and Workspace documentation

* docs: Update terminology from "New Project" to "New Flow" in starter project documentation

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* docs: Update terminology from "project" to "flow" in starter project documentation

* docs: Update terminology from "project" to "flow" in starter project documentation

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2024-11-14 00:58:01 +00:00
Gabriel Luiz Freitas Almeida
24f5638ada
ci: Add GitHub Actions workflow for creating releases (#4587)
* Add GitHub Actions workflow for creating releases

* Remove POETRY_VERSION environment variable from create-release workflow
2024-11-13 16:11:30 -08:00
Gabriel Luiz Freitas Almeida
c8ac7e671d
ci: Add condition to PyPI publish step in release workflow (#4585)
Add condition to PyPI publish step in release workflow
2024-11-13 15:42:11 -08:00