revert(copilot): restore synthetic IDs in billing metadata

The graph_exec_id, graph_id, and node_id are used for spend calculation.
This commit is contained in:
Zamil Majdy
2026-03-17 01:54:20 +07:00
parent ca5a0e619e
commit b031cc55ec

View File

@@ -147,6 +147,9 @@ async def execute_block(
user_id=user_id,
cost=cost,
metadata=UsageTransactionMetadata(
graph_exec_id=synthetic_graph_id,
graph_id=synthetic_graph_id,
node_id=synthetic_node_id,
node_exec_id=node_exec_id,
block_id=block_id,
block=block.name,