-
Notifications
You must be signed in to change notification settings - Fork 8.2k
MemoryCustom node added #1
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ibiscp
pushed a commit
that referenced
this pull request
Feb 28, 2023
JSON interface for Langchain #1
ogabrielluiz
pushed a commit
that referenced
this pull request
Aug 14, 2023
updating from dev branch
ogabrielluiz
pushed a commit
that referenced
this pull request
Nov 1, 2023
Bedrock Embeddings custom component
joaoguilhermeS
pushed a commit
to joaoguilhermeS/langflow
that referenced
this pull request
May 20, 2024
<fix> sharing /temp folder between discord and backend
3 tasks
t0rtila
referenced
this pull request
in ONLYOFFICE/langflow
Feb 24, 2025
Co-authored-by: Nasrullo Nurullaev <[email protected]> Co-committed-by: Nasrullo Nurullaev <[email protected]>
ogabrielluiz
pushed a commit
that referenced
this pull request
Apr 2, 2025
Improve variable name and simplify conditional
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jun 26, 2025
…7933) * fixes * fix: Update SQLAlchemy import to SQLModel in flow_runner.py * [autofix.ci] apply automated fixes * Update flow_runner tests to match new LangflowRunnerExperimental API (#1) * Initial plan * Update test_flow_runner.py to match new LangflowRunnerExperimental API Co-authored-by: barnuri <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: barnuri <[email protected]> * [autofix.ci] apply automated fixes * patch-1 - fix lint * patch-1 - tweaks_values * patch-1 - tweaks_values * lint --------- Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: barnuri <[email protected]>
Khurdhula-Harshavardhan
pushed a commit
to JigsawStack/langflow
that referenced
this pull request
Jul 1, 2025
…angflow-ai#7933) * fixes * fix: Update SQLAlchemy import to SQLModel in flow_runner.py * [autofix.ci] apply automated fixes * Update flow_runner tests to match new LangflowRunnerExperimental API (langflow-ai#1) * Initial plan * Update test_flow_runner.py to match new LangflowRunnerExperimental API Co-authored-by: barnuri <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: barnuri <[email protected]> * [autofix.ci] apply automated fixes * patch-1 - fix lint * patch-1 - tweaks_values * patch-1 - tweaks_values * lint --------- Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: barnuri <[email protected]>
dev-thiago-oliver
pushed a commit
to vvidai/langflow
that referenced
this pull request
Jul 5, 2025
…angflow-ai#7933) * fixes * fix: Update SQLAlchemy import to SQLModel in flow_runner.py * [autofix.ci] apply automated fixes * Update flow_runner tests to match new LangflowRunnerExperimental API (langflow-ai#1) * Initial plan * Update test_flow_runner.py to match new LangflowRunnerExperimental API Co-authored-by: barnuri <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: barnuri <[email protected]> * [autofix.ci] apply automated fixes * patch-1 - fix lint * patch-1 - tweaks_values * patch-1 - tweaks_values * lint --------- Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: barnuri <[email protected]>
rodrigosnader
added a commit
that referenced
this pull request
Sep 27, 2025
…e compatibility This commit fixes two critical bugs that completely broke Agent memory in the main branch: ## Bug #1: Inheritance Method Call Error - Fixed incorrect method calls in Agent component inheritance - Changed `get_base_inputs()` to `_base_inputs` in: - src/lfx/src/lfx/components/agents/agent.py:157 - src/lfx/src/lfx/base/agents/agent.py:229 ## Bug #2: Message Type Incompatibility - Fixed type checking in Agent base class to handle both Message types - Memory returns `langflow.schema.message.Message` but Agent expected `lfx.schema.message.Message` - Updated type check to use duck typing instead of strict isinstance check - Changed in src/lfx/src/lfx/base/agents/agent.py:148-150 ## Impact - Agents can now remember conversation context across messages - Memory functionality restored to same level as release-1.6.0 - Fixes issue where agents would forget user information immediately ## Test Results - Before: Agent says "I don't have access to your name or occupation" - After: Agent says "Your name is VICTORY TEST, and you work as a memory bug hunter" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Sep 29, 2025
…e compatibility (#10008) * fix: Restore Agent memory functionality by fixing inheritance and type compatibility This commit fixes two critical bugs that completely broke Agent memory in the main branch: ## Bug #1: Inheritance Method Call Error - Fixed incorrect method calls in Agent component inheritance - Changed `get_base_inputs()` to `_base_inputs` in: - src/lfx/src/lfx/components/agents/agent.py:157 - src/lfx/src/lfx/base/agents/agent.py:229 ## Bug #2: Message Type Incompatibility - Fixed type checking in Agent base class to handle both Message types - Memory returns `langflow.schema.message.Message` but Agent expected `lfx.schema.message.Message` - Updated type check to use duck typing instead of strict isinstance check - Changed in src/lfx/src/lfx/base/agents/agent.py:148-150 ## Impact - Agents can now remember conversation context across messages - Memory functionality restored to same level as release-1.6.0 - Fixes issue where agents would forget user information immediately ## Test Results - Before: Agent says "I don't have access to your name or occupation" - After: Agent says "Your name is VICTORY TEST, and you work as a memory bug hunter" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * fix: Update data_to_messages function to accept both Data and Message types This commit modifies the `data_to_messages` function to accept a list of both `Data` and `Message` types, enhancing type compatibility. The function's docstring has been updated to reflect the new input type and return type, ensuring clarity in its usage. * fix: improve message validation in Agent This commit updates the chat history processing in the LCAgentComponent to ensure that only messages with valid 'text' data are included. The method now checks for the presence of 'text' in the message data before converting it to the appropriate format. Additionally, the base input retrieval method has been changed from `_base_inputs` to `get_base_inputs()` for consistency and clarity. * fix: enhance chat history validation to support Data type * fix: improve input handling to support dynamic message conversion --------- Co-authored-by: Claude <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]> Co-authored-by: Edwin Jose <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
added custom node memory