zrb 1.13.1__py3-none-any.whl → 1.13.2__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.
zrb/task/llm/prompt.py CHANGED
@@ -66,13 +66,13 @@ def get_special_instruction_prompt(
66
66
 
67
67
  def get_modes(
68
68
  ctx: AnyContext,
69
- modes_attr: StrAttr | None,
69
+ modes_attr: StrListAttr | None,
70
70
  render_modes: bool,
71
71
  ) -> str:
72
72
  """Gets the modes, prioritizing task-specific, then default."""
73
73
  raw_modes = get_str_list_attr(
74
74
  ctx,
75
- modes_attr,
75
+ [] if modes_attr is None else modes_attr,
76
76
  auto_render=render_modes,
77
77
  )
78
78
  if raw_modes is None:
@@ -85,7 +85,7 @@ def get_modes(
85
85
 
86
86
  def get_workflow_prompt(
87
87
  ctx: AnyContext,
88
- modes_attr: StrAttr | None,
88
+ modes_attr: StrListAttr | None,
89
89
  render_modes: bool,
90
90
  ) -> str:
91
91
  modes = get_modes(ctx, modes_attr, render_modes)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zrb
3
- Version: 1.13.1
3
+ Version: 1.13.2
4
4
  Summary: Your Automation Powerhouse
5
5
  Home-page: https://github.com/state-alchemists/zrb
6
6
  License: AGPL-3.0-or-later
@@ -356,7 +356,7 @@ zrb/task/llm/default_workflow/researching.md,sha256=KD-aYHFHir6Ti-4FsBBtGwiI0seS
356
356
  zrb/task/llm/error.py,sha256=QR-nIohS6pBpC_16cWR-fw7Mevo1sNYAiXMBsh_CJDE,4157
357
357
  zrb/task/llm/history_summarization.py,sha256=_0RmzIeJdJA3KvtdTdKnd2Ga7_7x8C1J2PM0oSn-IYw,8000
358
358
  zrb/task/llm/print_node.py,sha256=mwdqsO2IVf5rDz-jdH9HXz6MFGCWrZ4Pv2xbUBtoNgc,4179
359
- zrb/task/llm/prompt.py,sha256=I5gNyNADOcHiRVmqeVFBFL-m1ACTJ0eMv7hZ689UIbs,9710
359
+ zrb/task/llm/prompt.py,sha256=pHYuo4cLzuH9VYk2-PAyxng_l1ItXVZl0llZDQcbnWA,9748
360
360
  zrb/task/llm/tool_wrapper.py,sha256=jfKMAtTzm--HnF6TppOrbkDVsuTOIFRpowQqgwqd-7s,6756
361
361
  zrb/task/llm/typing.py,sha256=c8VAuPBw_4A3DxfYdydkgedaP-LU61W9_wj3m3CAX1E,58
362
362
  zrb/task/llm_task.py,sha256=jVuVeN2ylcPkycUiaTpavkkd1tBLbvcVsjMNN5FMHnk,13536
@@ -406,7 +406,7 @@ zrb/util/todo.py,sha256=r9_KYF2-hLKMNjsp6AFK9zivykMrywd-kJ4bCwfdafI,19323
406
406
  zrb/util/todo_model.py,sha256=hhzAX-uFl5rsg7iVX1ULlJOfBtblwQ_ieNUxBWfc-Os,1670
407
407
  zrb/xcom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
408
408
  zrb/xcom/xcom.py,sha256=o79rxR9wphnShrcIushA0Qt71d_p3ZTxjNf7x9hJB78,1571
409
- zrb-1.13.1.dist-info/METADATA,sha256=X6pXCfvT2sWSHLC7gryWYWCOejb9S2EMtiiJwmLzDx4,9777
410
- zrb-1.13.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
411
- zrb-1.13.1.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
412
- zrb-1.13.1.dist-info/RECORD,,
409
+ zrb-1.13.2.dist-info/METADATA,sha256=30wKEc_dkXx1skqWznEZDe59G_KUemig65pUUvskxHc,9777
410
+ zrb-1.13.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
411
+ zrb-1.13.2.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
412
+ zrb-1.13.2.dist-info/RECORD,,
File without changes