Skip to content

chore(release): staging to production - 2026.03.19 - #1038

Merged
maxtechera merged 3 commits into
productionfrom
staging
Mar 19, 2026
Merged

chore(release): staging to production - 2026.03.19#1038
maxtechera merged 3 commits into
productionfrom
staging

Conversation

@github-actions

Copy link
Copy Markdown

🚀 Release: Staging to Production

Release Date: 2026-03-19

Changes in this release


This PR is automatically created/updated when commits are pushed to staging.
Merging this PR will trigger the release workflow to create a new GitHub release.

…n usage and model name for Langfuse/LangSmith in agentflows

Cherry-picks FlowiseAI/Flowise@11261d20d with conflict resolution to
preserve our fork's custom analytics hooks (callbacks setup, parent trace
propagation).

Key changes:
- onLLMEnd now accepts structured output objects (not just strings)
- Extracts usageMetadata + responseMetadata from AIMessage responses
- Adds model name and usage data to Langfuse generation.end() calls
- Removes langfuseCallbacksActive guard from onLLMStart so generations
  are always created — ensures cost tracking works for agentflows with
  parent traces (env override path)
- Restores full tag set (Name, chatflow_id, chat_id, chatmessage_id)
  on both handlerConfig and parentLangfuseTrace.update()
- Adds flushAsync() to ensure generation updates reach Langfuse
- LLM.ts, Agent.ts, ConditionAgent.ts pass full output to onLLMEnd

Fixes: Langfuse cost/token tracking showing $0 for all agentflow traces.
Upstream: FlowiseAI#5764, fixes FlowiseAI#4779, FlowiseAI#5015, FlowiseAI#4311
fix(analytics): Langfuse cost/token tracking for agentflows + env override
@vercel

vercel Bot commented Mar 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
answerai-docs Building Building Preview Mar 19, 2026 4:13pm
the-answerai Building Building Preview Mar 19, 2026 4:13pm

Request Review

@maxtechera
maxtechera merged commit c05d4a8 into production Mar 19, 2026
8 checks passed
@maxtechera
maxtechera temporarily deployed to staging - aai-unified2-flowise-moonstruck March 19, 2026 16:28 — with Render Inactive
@maxtechera
maxtechera temporarily deployed to staging - aai-unified2-flowise-moonstruck March 19, 2026 19:07 — with Render Inactive
@maxtechera
maxtechera temporarily deployed to staging - aai-unified2-flowise-moonstruck March 19, 2026 20:31 — with Render Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant