mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
fix(telemetry): populate missing fields in node execution trace
- Extract model_provider/model_name from process_data (LLM nodes store model info there, not in execution_metadata) - Add invoke_from to node execution trace metadata dict - Add credential_id to node execution trace metadata dict - Add conversation_id to metadata after message_id lookup - Add tool_name to tool_info dict in tool node
This commit is contained in:
@ -60,6 +60,7 @@ class ToolNode(Node[ToolNodeData]):
|
||||
tool_info = {
|
||||
"provider_type": self.node_data.provider_type.value,
|
||||
"provider_id": self.node_data.provider_id,
|
||||
"tool_name": self.node_data.tool_name,
|
||||
"plugin_unique_identifier": self.node_data.plugin_unique_identifier,
|
||||
"credential_id": self.node_data.credential_id,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user