langfun 0.1.2.dev202504120803__py3-none-any.whl → 0.1.2.dev202504130803__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of langfun might be problematic. Click here for more details.

@@ -134,6 +134,10 @@ class ExecutionTrace(pg.Object, pg.views.html.HtmlTreeView.Extension):
134
134
  self._tab_control = None
135
135
  self._time_badge = None
136
136
 
137
+ def reset(self) -> None:
138
+ """Resets the execution trace."""
139
+ self.rebind(items=[], skip_notification=True, raise_on_no_change=False)
140
+
137
141
  def start(self) -> None:
138
142
  assert self.start_time is None, 'Execution already started.'
139
143
  self.rebind(start_time=time.time(), skip_notification=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langfun
3
- Version: 0.1.2.dev202504120803
3
+ Version: 0.1.2.dev202504130803
4
4
  Summary: Langfun: Language as Functions.
5
5
  Home-page: https://github.com/google/langfun
6
6
  Author: Langfun Authors
@@ -26,7 +26,7 @@ langfun/core/subscription_test.py,sha256=Y4ZdbZEwm83YNZBxHff0QR4QUa4rdaNXA3_jfIc
26
26
  langfun/core/template.py,sha256=jNhYSrbLIn9kZOa03w5QZbyjgfnzJzE_ZrrMvvWY4t4,24929
27
27
  langfun/core/template_test.py,sha256=g7x4mgNIAXEEj-4W1D5whGfl5YikLEQoylKPzaeDomk,17069
28
28
  langfun/core/agentic/__init__.py,sha256=qR3jlfUO4rhIoYdRDLz-d22YZf3FvU4FW88vsjiGDQQ,1224
29
- langfun/core/agentic/action.py,sha256=ViGRwYuqIjNF_A3iUI5mdiGJ-bSXm85GrCX5ZdFOpLw,32602
29
+ langfun/core/agentic/action.py,sha256=8o8UUPKZO2TdUGWU3QrJ4fmm4JdV-kH7G12JdrrYHZE,32744
30
30
  langfun/core/agentic/action_eval.py,sha256=-ZcWt_eYqnTyOe9HFGyrLJkQRd4iG3hfN4IZ-NYAWwA,4534
31
31
  langfun/core/agentic/action_eval_test.py,sha256=tRUkWmOE9p0rpNOq19xAY2oDEnYsEEykjg6sUpAwJk0,2832
32
32
  langfun/core/agentic/action_test.py,sha256=e2INg-E7MaRNuN1qaSXLSnrjrsyVY3uSICiZpMuJr8c,5521
@@ -156,8 +156,8 @@ langfun/core/templates/demonstration.py,sha256=vCrgYubdZM5Umqcgp8NUVGXgr4P_c-fik
156
156
  langfun/core/templates/demonstration_test.py,sha256=SafcDQ0WgI7pw05EmPI2S4v1t3ABKzup8jReCljHeK4,2162
157
157
  langfun/core/templates/selfplay.py,sha256=yhgrJbiYwq47TgzThmHrDQTF4nDrTI09CWGhuQPNv-s,2273
158
158
  langfun/core/templates/selfplay_test.py,sha256=Ot__1P1M8oJfoTp-M9-PQ6HUXqZKyMwvZ5f7yQ3yfyM,2326
159
- langfun-0.1.2.dev202504120803.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
160
- langfun-0.1.2.dev202504120803.dist-info/METADATA,sha256=425wS7mJbBj9ud9wfkWPDmCw9fmluo-qREBCcBZ06tk,7692
161
- langfun-0.1.2.dev202504120803.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
162
- langfun-0.1.2.dev202504120803.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
163
- langfun-0.1.2.dev202504120803.dist-info/RECORD,,
159
+ langfun-0.1.2.dev202504130803.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
160
+ langfun-0.1.2.dev202504130803.dist-info/METADATA,sha256=REdBb2tEomjUvwUM6kYaKn-uSChGNpeTuXli3WK5KlM,7692
161
+ langfun-0.1.2.dev202504130803.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
162
+ langfun-0.1.2.dev202504130803.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
163
+ langfun-0.1.2.dev202504130803.dist-info/RECORD,,