Skip to content

Commit 25d2439

Browse files
HzaRashidHamza Rashidautofix-ci[bot]
authored andcommitted
Fix: Langfuse "parent run not found" error with agents using tools (langflow-ai#10268)
* fix: Use the same langchain callbacks for the agent and its tools so that the parent run is persisted during tool calls. chore: build component index refactor tool callback setting loop into a function chore: update component index recover block in base/agent.py add comments and use fresh callbacks when exposing agent as a tool improve comment in agent.py * chore: update component index * chore: update component index * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) --------- Co-authored-by: Hamza Rashid <hzaras@IBM-JZ7K264.localdomain> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 9dde89f commit 25d2439

18 files changed

+82
-41
lines changed

src/backend/base/langflow/initial_setup/starter_projects/Instagram Copywriter.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Invoice Summarizer.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Market Research.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/News Aggregator.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Nvidia Remix.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Pokédex Agent.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Price Deal Finder.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Research Agent.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/SaaS Pricing.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Search agent.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)