Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

feat(workflow): inject agent_id into config for agent-execution nodes

tilakpatel225a6b8e4f8870
diff --git a/fincept-qt/src/services/workflow/nodes/AgentNodes.cpp b/fincept-qt/src/services/workflow/nodes/AgentNodes.cpp
index 36cf92e68..ad00cf424 100644
--- a/fincept-qt/src/services/workflow/nodes/AgentNodes.cpp
+++ b/fincept-qt/src/services/workflow/nodes/AgentNodes.cpp
@@ -138,6 +138,8 @@ void register_agent_nodes(NodeRegistry& registry) {
config["guardrails"] = params.value("guardrails").toBool(false);
config["tracing"] = false;
config["agentic_memory"] = false;
+ if (!agent_id.isEmpty())
+ config["agent_id"] = agent_id;
// Build query — prepend upstream context if any
QString query;