mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user