zrb 1.7.0__py3-none-any.whl → 1.7.1__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.
@@ -54,7 +54,7 @@ async def enrich_context(
54
54
  user_prompt_data = "\n".join(
55
55
  [
56
56
  "Extract context from the following conversation info.",
57
- "Maintain the relevan context and remove the unrelevant ones.",
57
+ "Maintain the relevant context and remove the irrelevant ones.",
58
58
  "Restructure the context in a helpful way",
59
59
  "Keep the context small",
60
60
  f"Existing Context: {context_json}",
@@ -89,7 +89,7 @@ async def enrich_context(
89
89
  usage = enrichment_run.result.usage()
90
90
  ctx.print(stylize_faint(f"[Token Usage] {usage}"), plain=True)
91
91
  if response:
92
- conversation_context.update(response)
92
+ conversation_context = response
93
93
  ctx.log_info("Context enriched based on history.")
94
94
  ctx.log_info(
95
95
  f"Updated conversation context: {json.dumps(conversation_context)}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zrb
3
- Version: 1.7.0
3
+ Version: 1.7.1
4
4
  Summary: Your Automation Powerhouse
5
5
  Home-page: https://github.com/state-alchemists/zrb
6
6
  License: AGPL-3.0-or-later
@@ -320,7 +320,7 @@ zrb/task/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
320
320
  zrb/task/llm/agent.py,sha256=6wGSsw03GdY_fj12CsJh7wxB6BnE13N8RYXaWfbiUsk,5451
321
321
  zrb/task/llm/config.py,sha256=oGxHYMdIvhASnKwNuMPwcdeJiFfS0tNskzGHakpfpQU,3458
322
322
  zrb/task/llm/context.py,sha256=U9a8lxa2ikz6my0Sd5vpO763legHrMHyvBjbrqNmv0Y,3838
323
- zrb/task/llm/context_enrichment.py,sha256=i2oWcs0mJGkfT8Jho3tQwNADagG9qU5oEZHbGxTTsSs,6629
323
+ zrb/task/llm/context_enrichment.py,sha256=kGFEwma06edLygtEvJ4331i39rmEwdDTSrXm-G1LolM,6624
324
324
  zrb/task/llm/error.py,sha256=27DQXSG8SH1-XuvXFdZQKzP39wZDWmd_YnSTz6DJKKI,3690
325
325
  zrb/task/llm/history.py,sha256=3WMXoi7RquxosXQf3iv2_BCeF8iKtY1f407pR71xERs,7745
326
326
  zrb/task/llm/history_summarization.py,sha256=n3GbgwXlDIkgpJppMGfpqF_8Wpi9yAoZYh46O1pFQeU,6432
@@ -370,7 +370,7 @@ zrb/util/string/name.py,sha256=SXEfxJ1-tDOzHqmSV8kvepRVyMqs2XdV_vyoh_9XUu0,1584
370
370
  zrb/util/todo.py,sha256=VGISej2KQZERpornK-8X7bysp4JydMrMUTnG8B0-liI,20708
371
371
  zrb/xcom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
372
372
  zrb/xcom/xcom.py,sha256=o79rxR9wphnShrcIushA0Qt71d_p3ZTxjNf7x9hJB78,1571
373
- zrb-1.7.0.dist-info/METADATA,sha256=CFGNJW5jVSUWPFlS6-xNemTuGvjfBrOrmymGwRc3V40,8385
374
- zrb-1.7.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
375
- zrb-1.7.0.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
376
- zrb-1.7.0.dist-info/RECORD,,
373
+ zrb-1.7.1.dist-info/METADATA,sha256=N_pEPK58I8nQ5O7J-1yyl0Q6gxH1PPpLN82ldGB7rMo,8385
374
+ zrb-1.7.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
375
+ zrb-1.7.1.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
376
+ zrb-1.7.1.dist-info/RECORD,,
File without changes