Fix knowledge embedding dialog by erichare · Pull Request #12071 · langflow-ai/langflow (original) (raw)

…12025)

Co-authored-by: Gabriel Luiz Freitas Almeida gabriel@logspace.ai


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

v0 for traces includes:

Could add:

add sidebar buttons for logs and trace remove lods canvas control

hopefully fix duplicate trace ID insertion on windows

update tests and alembic tables for uts

address gabriel simple changes in traces.py and native.py

#11689 (comment) #11689 (comment)

model name is now set using name = f"{operation} {model_name}" if model_name else operation

Configure [tool.uv.sources] with pytorch-cpu index to avoid ~6GB CUDA dependencies in Docker images. This replaces hardcoded wheel URLs with a cleaner index-based approach.

The previous regex matched all lines starting with name = "...", which incorrectly renamed the UV index pytorch-cpu to langflow-nightly during nightly builds. This caused uv lock to fail with: "Package torch references an undeclared index: pytorch-cpu"

The new regex specifically targets the name field within the [project] section only, avoiding unintended replacements in other sections like [[tool.uv.index]].

The required-environments setting was causing hard failures when packages like torch didn't have wheels for specific platform/Python combinations. Without this setting, uv resolves optimistically and handles missing wheels gracefully at runtime instead of failing during resolution.





Ensures that only the necessary dependencies are required. For example, if OpenAI provider is used, it will now only import langchain_openai, rather than requiring langchain_anthropic, langchain_ibm, etc.



Dymanically picks dependency for LanguageM Comp. Requires separate change to remove eager loading.

Ensures that only the necessary dependencies are required. For example, if OpenAI provider is used, it will now only import langchain_openai, rather than requiring langchain_anthropic, langchain_ibm, etc.



address cris I1 comment

address cris I5

address cris I6

address cris R7

address cris R2

address gab otel model changes will need no migration tables

update alembic migration tables after model changes

update and add backend tests

address backend code rabbit comments

address code rabbit frontend comments

test_native_tracer minor fix address c1

address C2 + C3

address H1-H5

update test_native_tracer

address m2

address M1

fix 422 spam and clean comments

address M12

address M4

address M5

clean up for M7, M9, M11

address L2,L4,L5 and L6 + any test

alembic + comment clean up

remove depricated test_traces file. test have all been moved to test_traces_api.py

fix test_trace_api ge=0 is allowed now

remove unused traces cost flow

address gabriels otel coment latest


Co-authored-by: Olayinka Adelakun olayinkaadelakun@Olayinkas-MacBook-Pro.local Co-authored-by: Olayinka Adelakun olayinkaadelakun@mac.war.can.ibm.com Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Ram Gopal Srikar Katakam 44802869+RamGopalSrikar@users.noreply.github.com Co-authored-by: Claude Opus 4.5 noreply@anthropic.com Co-authored-by: olayinkaadelakun olayinka.adelakun@ibm.com Co-authored-by: Jordan Frazier 122494242+jordanrfrazier@users.noreply.github.com Co-authored-by: cristhianzl cristhian.lousa@gmail.com Co-authored-by: Hamza Rashid 74062092+HzaRashid@users.noreply.github.com Co-authored-by: Mendon Kissling 59585235+mendonk@users.noreply.github.com Co-authored-by: Lucas Oliveira 62335616+lucaseduoli@users.noreply.github.com Co-authored-by: Edwin Jose edwin.jose@datastax.com Co-authored-by: Himavarsha 40851462+HimavarshaVS@users.noreply.github.com

fix(test): Fix superuser timeout test errors by replacing heavy client fixture (#11972)


Co-authored-by: Cristhian Zanforlin Lousa cristhian.lousa@gmail.com Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

The migration file creates the trace table's flow_id foreign key with ondelete="CASCADE", but the model was missing this parameter. This mismatch caused the migration validator to block startup.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

Adds a migration that ensures the trace.flow_id foreign key has ondelete=CASCADE. While the original migration already creates it with CASCADE, this provides a safety net for any databases that may have gotten into an inconsistent state.

The original migration did not name the FK constraint, so it gets an auto-generated name that varies by database. This fix queries the database to find the actual constraint name before dropping it.


Co-authored-by: Claude Opus 4.5 noreply@anthropic.com

The "Stop building" title caused getByRole('button', { name: 'Stop' }) to match two elements, breaking Playwright tests in shards 19, 20, 22, 25.

Renamed to "Cancel" to avoid the collision with the no-input stop button.

pydantic fail because output is list, instead of a dict

Co-authored-by: Olayinka Adelakun olayinkaadelakun@Olayinkas-MacBook-Pro.local

Changing the heuristic threshold icons.

The field was using the default icons. I added icons related to the security theme.


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Viktor Avelino 64113566+viktoravelino@users.noreply.github.com


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Co-authored-by: Claude Sonnet 4.6 noreply@anthropic.com

Co-authored-by: Claude Sonnet 4.6 noreply@anthropic.com

before it was attempting to pull release-notes as letters are alphanumerically after numbers when we sort -V then grab tail now we only look at branch names that follow the pattern '^release-[0-9]+.[0-9]+.[0-9]+$'

add-back-svg

Previously, the apply_provider_variable_config_to_build_config function would automatically overwrite field values with environment variable keys whenever an env var was present, even if the user had already selected a different global variable.

This fix adds a check to only auto-set the environment variable if:

This preserves user selections while still providing automatic configuration for new/empty fields.

Added comprehensive unit tests to verify:

Fixed PERF403 Ruff style warning by replacing for-loop with dictionary comprehension in update_projects_components_with_latest_component_versions

These changes improve test coverage by documenting the no-op scenario and enhance security by avoiding logging of potentially sensitive data.


Co-authored-by: Adam-Aghili 149833988+Adam-Aghili@users.noreply.github.com Co-authored-by: Mendon Kissling 59585235+mendonk@users.noreply.github.com Co-authored-by: Steve Haertel shaertel@ca.ibm.com Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Eric Hare ericrhare@gmail.com


Co-authored-by: Adam-Aghili 149833988+Adam-Aghili@users.noreply.github.com Co-authored-by: Gabriel Luiz Freitas Almeida gabriel@logspace.ai Co-authored-by: keval shah kevalvirat@gmail.com Co-authored-by: Antônio Alexandre Borges Lima 104531655+AntonioABLima@users.noreply.github.com Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Olayinka Adelakun olayinkaadelakun@Olayinkas-MacBook-Pro.local Co-authored-by: Olayinka Adelakun olayinkaadelakun@mac.war.can.ibm.com Co-authored-by: Ram Gopal Srikar Katakam 44802869+RamGopalSrikar@users.noreply.github.com Co-authored-by: Claude Opus 4.5 noreply@anthropic.com Co-authored-by: olayinkaadelakun olayinka.adelakun@ibm.com Co-authored-by: Jordan Frazier 122494242+jordanrfrazier@users.noreply.github.com Co-authored-by: cristhianzl cristhian.lousa@gmail.com Co-authored-by: Hamza Rashid 74062092+HzaRashid@users.noreply.github.com Co-authored-by: Mendon Kissling 59585235+mendonk@users.noreply.github.com Co-authored-by: Lucas Oliveira 62335616+lucaseduoli@users.noreply.github.com Co-authored-by: Edwin Jose edwin.jose@datastax.com Co-authored-by: Himavarsha 40851462+HimavarshaVS@users.noreply.github.com Co-authored-by: Viktor Avelino 64113566+viktoravelino@users.noreply.github.com Co-authored-by: Lucas Democh ldgoularte@gmail.com Co-authored-by: Steve Haertel stevehaertel@users.noreply.github.com Co-authored-by: Steve Haertel shaertel@ca.ibm.com