jaf-py 2.5.7__py3-none-any.whl → 2.5.8__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.
jaf/__init__.py CHANGED
@@ -191,7 +191,7 @@ def generate_run_id() -> RunId:
191
191
  """Generate a new run ID."""
192
192
  return create_run_id(str(uuid.uuid4()))
193
193
 
194
- __version__ = "2.5.7"
194
+ __version__ = "2.5.8"
195
195
  __all__ = [
196
196
  # Core types and functions
197
197
  "TraceId", "RunId", "ValidationResult", "Message", "ModelConfig",
jaf/core/agent_tool.py CHANGED
@@ -178,7 +178,8 @@ def create_agent_tool(
178
178
  on_event=parent_config.on_event,
179
179
  memory=parent_config.memory if preserve_session else None,
180
180
  conversation_id=parent_config.conversation_id if preserve_session else None,
181
- default_tool_timeout=parent_config.default_tool_timeout
181
+ default_tool_timeout=parent_config.default_tool_timeout,
182
+ prefer_streaming=parent_config.prefer_streaming
182
183
  )
183
184
 
184
185
  token = _current_run_config.set(sub_config)
jaf/core/guardrails.py CHANGED
@@ -288,7 +288,8 @@ Return a JSON object with keys: {{"allowed": boolean, "reason": string}}. Do not
288
288
  model_override=model_to_use,
289
289
  initial_input_guardrails=None,
290
290
  final_output_guardrails=None,
291
- on_event=None
291
+ on_event=None,
292
+ prefer_streaming=config.prefer_streaming
292
293
  )
293
294
 
294
295
  # Execute with timeout
jaf/core/streaming.py CHANGED
@@ -295,7 +295,8 @@ async def run_streaming(
295
295
  final_output_guardrails=config.final_output_guardrails,
296
296
  on_event=event_handler,
297
297
  memory=config.memory,
298
- conversation_id=config.conversation_id
298
+ conversation_id=config.conversation_id,
299
+ prefer_streaming=config.prefer_streaming
299
300
  )
300
301
 
301
302
  from .engine import run
jaf/core/tracing.py CHANGED
@@ -443,7 +443,7 @@ class LangfuseTraceCollector:
443
443
  public_key=public_key,
444
444
  secret_key=secret_key,
445
445
  host=host,
446
- release="jaf-py-v2.5.7",
446
+ release="jaf-py-v2.5.8",
447
447
  httpx_client=client
448
448
  )
449
449
  self._httpx_client = client
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jaf-py
3
- Version: 2.5.7
3
+ Version: 2.5.8
4
4
  Summary: A purely functional agent framework with immutable state and composable tools - Python implementation
5
5
  Author: JAF Contributors
6
6
  Maintainer: JAF Contributors
@@ -82,7 +82,7 @@ Dynamic: license-file
82
82
 
83
83
  <!-- ![JAF Banner](docs/cover.png) -->
84
84
 
85
- [![Version](https://img.shields.io/badge/version-2.5.7-blue.svg)](https://github.com/xynehq/jaf-py)
85
+ [![Version](https://img.shields.io/badge/version-2.5.8-blue.svg)](https://github.com/xynehq/jaf-py)
86
86
  [![Python](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/)
87
87
  [![Docs](https://img.shields.io/badge/Docs-Live-brightgreen)](https://xynehq.github.io/jaf-py/)
88
88
 
@@ -1,4 +1,4 @@
1
- jaf/__init__.py,sha256=ZwZkJFpYcvCXUPt5JwqrCZrE44rd_OkD7VuZNzCWHiI,8260
1
+ jaf/__init__.py,sha256=PjbDVwTdBQtoum-MrpwN8GznsNQVX5R4uQjoJnPBdqI,8260
2
2
  jaf/cli.py,sha256=Af4di_NZ7rZ4wFl0R4EZh611NgJ--TL03vNyZ2M1_FY,8477
3
3
  jaf/exceptions.py,sha256=nl8JY355u7oTXB3PmC_LhnUaL8fzk2K4EaWM4fVpMPE,9196
4
4
  jaf/a2a/__init__.py,sha256=p4YVthZH0ow1ZECqWTQ0aQl8JWySYZb25jlzZJ09na4,7662
@@ -39,12 +39,12 @@ jaf/a2a/tests/test_integration.py,sha256=I7LdgwN99mAOljM9kYtK7dGMMntTSWKMw_oLOcJ
39
39
  jaf/a2a/tests/test_protocol.py,sha256=He3vGlBfIazpppAnuSybutrvjIN3VGxEleAohrVd9hc,23287
40
40
  jaf/a2a/tests/test_types.py,sha256=PgRjDVJrHSXuu05z0B5lsSUUY5qEdQLFJbLBIExyVgI,18384
41
41
  jaf/core/__init__.py,sha256=1VHV2-a1oJXIWcg8n5G5g2cmjw2QXv7OezncNB59KLw,1988
42
- jaf/core/agent_tool.py,sha256=tfLNaTIcOZ0dR9GBP1AHLPkLExm_dLbURnVIN4R84FQ,11806
42
+ jaf/core/agent_tool.py,sha256=Vp_AOSPuiHr-PkhtziU5Yd6oMwshZUG-R5msHYdFlKc,11867
43
43
  jaf/core/analytics.py,sha256=zFHIWqWal0bbEFCmJDc4DKeM0Ja7b_D19PqVaBI12pA,23338
44
44
  jaf/core/composition.py,sha256=IVxRO1Q9nK7JRH32qQ4p8WMIUu66BhqPNrlTNMGFVwE,26317
45
45
  jaf/core/engine.py,sha256=FUX3rSY0PLzsERRmVYLtEtMaEkTIkm4TMZaeg3fmnt8,61140
46
46
  jaf/core/errors.py,sha256=5fwTNhkojKRQ4wZj3lZlgDnAsrYyjYOwXJkIr5EGNUc,5539
47
- jaf/core/guardrails.py,sha256=nv7pQuCx7-9DDZrecWO1DsDqFoujL81FBDrafOsXgcI,26179
47
+ jaf/core/guardrails.py,sha256=tu1-KUo4vkLp6VIBlT4uta-27h5D--v6rI62k_RiTKk,26237
48
48
  jaf/core/handoff.py,sha256=ttjOQ6CSl34J4T_1ejdmq78gZ-ve07_IQE_DAbz2bmo,6002
49
49
  jaf/core/parallel_agents.py,sha256=ahwYoTnkrF4xQgV-hjc5sUaWhQWQFENMZG5riNa_Ieg,12165
50
50
  jaf/core/performance.py,sha256=jedQmTEkrKMD6_Aw1h8PdG-5TsdYSFFT7Or6k5dmN2g,9974
@@ -52,10 +52,10 @@ jaf/core/proxy.py,sha256=_WM3cpRlSQLYpgSBrnY30UPMe2iZtlqDQ65kppE-WY0,4609
52
52
  jaf/core/proxy_helpers.py,sha256=i7a5fAX9rLmO4FMBX51-yRkTFwfWedzQNgnLmeLUd_A,4370
53
53
  jaf/core/regeneration.py,sha256=jlV2PwobP_kAhafaP8zuwZcYyZiuh7QbWgA9_4ST8xM,17904
54
54
  jaf/core/state.py,sha256=oNCVXPWLkqnBQObdQX10TcmZ0eOF3wKG6DtL3kF6ohw,9649
55
- jaf/core/streaming.py,sha256=h_lYHQA9ee_D5QsDO9-Vhevgi7rFXPslPzd9605AJGo,17034
55
+ jaf/core/streaming.py,sha256=wDjbxGdLehPs2ImzKAftEvb7ruOBldSvYYnrSeD2xJg,17084
56
56
  jaf/core/tool_results.py,sha256=-bTOqOX02lMyslp5Z4Dmuhx0cLd5o7kgR88qK2HO_sw,11323
57
57
  jaf/core/tools.py,sha256=84N9A7QQ3xxcOs2eUUot3nmCnt5i7iZT9VwkuzuFBxQ,16274
58
- jaf/core/tracing.py,sha256=3FcJ1vr5Nm-dAhQCpVrT_VR_e-gQG74PuuhNAcfzQhU,53367
58
+ jaf/core/tracing.py,sha256=cDjrqdxJla6srWIKb3aKoYQwew4Zu3i2qeORc-haZYA,53367
59
59
  jaf/core/types.py,sha256=RLfFS5TpJiog5-mAVMH_7oM7ZEJqGsZBbrOQiUpGUM4,33042
60
60
  jaf/core/workflows.py,sha256=Ul-82gzjIXtkhnSMSPv-8igikjkMtW1EBo9yrfodtvI,26294
61
61
  jaf/memory/__init__.py,sha256=-L98xlvihurGAzF0DnXtkueDVvO_wV2XxxEwAWdAj50,1400
@@ -88,9 +88,9 @@ jaf/visualization/functional_core.py,sha256=zedMDZbvjuOugWwnh6SJ2stvRNQX1Hlkb9Ab
88
88
  jaf/visualization/graphviz.py,sha256=WTOM6UP72-lVKwI4_SAr5-GCC3ouckxHv88ypCDQWJ0,12056
89
89
  jaf/visualization/imperative_shell.py,sha256=GpMrAlMnLo2IQgyB2nardCz09vMvAzaYI46MyrvJ0i4,2593
90
90
  jaf/visualization/types.py,sha256=QQcbVeQJLuAOXk8ynd08DXIS-PVCnv3R-XVE9iAcglw,1389
91
- jaf_py-2.5.7.dist-info/licenses/LICENSE,sha256=LXUQBJxdyr-7C4bk9cQBwvsF_xwA-UVstDTKabpcjlI,1063
92
- jaf_py-2.5.7.dist-info/METADATA,sha256=Imc7tiZbuvXTqZaDANIAMhDmzWfaWKK0kJzu0C3La4k,27743
93
- jaf_py-2.5.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
- jaf_py-2.5.7.dist-info/entry_points.txt,sha256=OtIJeNJpb24kgGrqRx9szGgDx1vL9ayq8uHErmu7U5w,41
95
- jaf_py-2.5.7.dist-info/top_level.txt,sha256=Xu1RZbGaM4_yQX7bpalo881hg7N_dybaOW282F15ruE,4
96
- jaf_py-2.5.7.dist-info/RECORD,,
91
+ jaf_py-2.5.8.dist-info/licenses/LICENSE,sha256=LXUQBJxdyr-7C4bk9cQBwvsF_xwA-UVstDTKabpcjlI,1063
92
+ jaf_py-2.5.8.dist-info/METADATA,sha256=ddV0T51h4mawm5t4-1L9zTnPM-IrSpIdN9aBw79mz-M,27743
93
+ jaf_py-2.5.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
+ jaf_py-2.5.8.dist-info/entry_points.txt,sha256=OtIJeNJpb24kgGrqRx9szGgDx1vL9ayq8uHErmu7U5w,41
95
+ jaf_py-2.5.8.dist-info/top_level.txt,sha256=Xu1RZbGaM4_yQX7bpalo881hg7N_dybaOW282F15ruE,4
96
+ jaf_py-2.5.8.dist-info/RECORD,,
File without changes