-
Notifications
You must be signed in to change notification settings - Fork 3
feat!: Add per-execution runId, at-most-once tracking, and cross-process tracker resumption #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2b997fa
211ead4
6237d6c
d895e64
7839104
df722f9
a6e9612
59c574e
6bf91fa
ba5421a
4c0451b
82cb40a
7050ab0
31dcc8f
08da63a
ae5d752
fc814c6
5313ce5
04f14eb
dd44577
84a1ab1
a41c7e3
edd1690
2fc7151
609451e
db25c8f
0aeb164
d721142
88c18b9
bed2034
35aef5e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -196,13 +196,17 @@ def flush(self, graph: AgentGraphDefinition) -> None: | |
|
|
||
| :param graph: The AgentGraphDefinition whose nodes hold the LD config trackers. | ||
| """ | ||
| node_trackers: Dict[str, Any] = {} | ||
| for node_key in self._path: | ||
| if node_key in node_trackers: | ||
| continue | ||
| node = graph.get_node(node_key) | ||
| if not node: | ||
| continue | ||
| config_tracker = node.get_config().tracker | ||
| config_tracker = node.get_config().create_tracker() | ||
| if not config_tracker: | ||
| continue | ||
| node_trackers[node_key] = config_tracker | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Flush always tracks success even for failed nodesMedium Severity The Reviewed by Cursor Bugbot for commit 35aef5e. Configure here.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to rework some of this logic and will do it in a separate PR. This is currently experimental. |
||
|
|
||
| usage = self._node_tokens.get(node_key) | ||
| if usage: | ||
|
|
||


Uh oh!
There was an error while loading. Please reload this page.