jaf-py 2.6.7__py3-none-any.whl → 2.6.9__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
@@ -201,7 +201,7 @@ def generate_run_id() -> RunId:
201
201
  return create_run_id(str(uuid.uuid4()))
202
202
 
203
203
 
204
- __version__ = "2.6.7"
204
+ __version__ = "2.6.9"
205
205
  __all__ = [
206
206
  # Core types and functions
207
207
  "TraceId",
jaf/core/agent_tool.py CHANGED
@@ -232,15 +232,6 @@ def create_agent_tool(
232
232
  )
233
233
  except Exception:
234
234
  subagent_model_provider = parent_config.model_provider
235
- elif subagent_model_name.startswith("glm"):
236
- try:
237
- from jaf.providers import make_litellm_provider
238
- subagent_model_provider = make_litellm_provider(
239
- base_url=os.getenv("LITELLM_BASE_URL"),
240
- api_key=os.getenv("LITELLM_KEY")
241
- )
242
- except Exception:
243
- subagent_model_provider = parent_config.model_provider
244
235
  # For other models, use parent's provider (may work or may not)
245
236
  else:
246
237
  # No subagent model_config - inherit from parent
jaf/core/tracing.py CHANGED
@@ -469,7 +469,7 @@ class LangfuseTraceCollector:
469
469
  public_key=public_key,
470
470
  secret_key=secret_key,
471
471
  host=host,
472
- release="jaf-py-v2.6.7",
472
+ release="jaf-py-v2.6.9",
473
473
  httpx_client=client,
474
474
  )
475
475
  self._httpx_client = client
jaf/providers/model.py CHANGED
@@ -380,7 +380,7 @@ def make_litellm_provider(
380
380
 
381
381
  # Add session_id from conversation_id for LiteLLM tracking
382
382
  if config.conversation_id:
383
- request_params["extra_body"] = {"session_id": config.conversation_id}
383
+ request_params["extra_body"] = {"litellm_session_id": config.conversation_id}
384
384
 
385
385
  # Add optional parameters
386
386
  if agent.model_config:
@@ -626,7 +626,7 @@ def make_litellm_provider(
626
626
 
627
627
  # Add session_id from conversation_id for LiteLLM tracking
628
628
  if config.conversation_id:
629
- request_params["extra_body"] = {"session_id": config.conversation_id}
629
+ request_params["extra_body"] = {"litellm_session_id": config.conversation_id}
630
630
 
631
631
  # Add optional parameters
632
632
  if agent.model_config:
@@ -837,7 +837,7 @@ def make_litellm_sdk_provider(
837
837
 
838
838
  # Add session_id from conversation_id for LiteLLM tracking
839
839
  if config.conversation_id:
840
- request_params["session_id"] = config.conversation_id
840
+ request_params["litellm_session_id"] = config.conversation_id
841
841
 
842
842
  # Add API key if provided
843
843
  if self.api_key:
@@ -1021,7 +1021,7 @@ def make_litellm_sdk_provider(
1021
1021
 
1022
1022
  # Add session_id from conversation_id for LiteLLM tracking
1023
1023
  if config.conversation_id:
1024
- request_params["session_id"] = config.conversation_id
1024
+ request_params["litellm_session_id"] = config.conversation_id
1025
1025
 
1026
1026
  # Add API key if provided
1027
1027
  if self.api_key:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jaf-py
3
- Version: 2.6.7
3
+ Version: 2.6.9
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.6.7-blue.svg)](https://github.com/xynehq/jaf-py)
85
+ [![Version](https://img.shields.io/badge/version-2.6.9-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=nkcZREAFiazg-N4BdAZAWvirwc574BX7FtM4XasfpTM,8652
1
+ jaf/__init__.py,sha256=CqLIiiIVWlGDaApXDGWNIZkbPxJZB-SrpRKpEmw-C78,8652
2
2
  jaf/cli.py,sha256=EDMMA5uX0e3TUIedLdyP3p4Qy-aXADvpht3VgJPJagU,8299
3
3
  jaf/exceptions.py,sha256=FdLIw7bdCNtBYfqRyJBkRT4Z1vWuvkzrMqFiMAzjL8Y,9158
4
4
  jaf/a2a/__init__.py,sha256=r4W-WHZNjoxR8EQ0x41_rY3fl12OH5qcSn0KycXaKKU,7752
@@ -39,7 +39,7 @@ jaf/a2a/tests/test_integration.py,sha256=hfGAtwXOfV9OXrFgS94twMbzxMQ4Vfj0KYoNT5V
39
39
  jaf/a2a/tests/test_protocol.py,sha256=3Ov9fTqznDqJLg8PqY2oy9I2Tpvwv_N0aN-rpFpAmjM,22215
40
40
  jaf/a2a/tests/test_types.py,sha256=rSUhZmOQcFrgNiEg4hDCZwypj19h6mSamVapWkrzZWc,17329
41
41
  jaf/core/__init__.py,sha256=4IqKRspv8gvgAtbmvaMvUgYZB1fSIy3vsyCXkjF8PjU,2013
42
- jaf/core/agent_tool.py,sha256=l8Dr8-BexrmO3T6o5AymqQbD-nzmF9yP_jyHrSqSDL0,16848
42
+ jaf/core/agent_tool.py,sha256=jmghX_WZDc5iLQsqkEFv-LT1eFUQF2txiLVPit2F2iQ,16382
43
43
  jaf/core/analytics.py,sha256=ypdhllyOThXZB-TY_eR1t1n2qrnAVN7Ljb8PaOtJft0,23267
44
44
  jaf/core/checkpoint.py,sha256=O7mfi7gFOAUgJ3zHzgJsr11uzn-BU-Vj1iKyKjcirMk,8398
45
45
  jaf/core/composition.py,sha256=Tj0-FRTVWygmAfsBLld7pnZK4nrGMMBx2YYJW_KQPoo,25393
@@ -56,7 +56,7 @@ jaf/core/state.py,sha256=fdWDc2DQ-o_g_8E4ibg2QM0Vad_XUique3a5iYBwGZo,9516
56
56
  jaf/core/streaming.py,sha256=5ntOtJrZVCHuGsygquyCLG2J5yuSxE6DN5OM-BrQiGw,16818
57
57
  jaf/core/tool_results.py,sha256=L9U3JDQAjAH5YR7iMpSxfVky2Nxo6FYQs4WE05RATaQ,11283
58
58
  jaf/core/tools.py,sha256=rHxzAfGVGpYk3YJKmrq3AQLW0oE3ACkiJBOwle2bLdc,15146
59
- jaf/core/tracing.py,sha256=pRenMT87-PlHWNSsuH7gcW6sD7zv-XnOqRkMCk2XQ1s,59360
59
+ jaf/core/tracing.py,sha256=0hqlyyg5k3qGWPc6AcVOHiu0ENV3yWCQlAmJnsh4MsU,59360
60
60
  jaf/core/types.py,sha256=u93jroIe1fFbRBNpOTBrc3exWrjjvetxsjTtu3jTtVA,37605
61
61
  jaf/core/workflows.py,sha256=0825AoD1QwEiGAs5IRlWHmaKrjurx6xF7oDJR6POBsg,25651
62
62
  jaf/memory/__init__.py,sha256=YfANOg5vUFSPVG7gpBE4_lYkV5X3_U6Yj9v1_QexfN0,1396
@@ -75,7 +75,7 @@ jaf/policies/handoff.py,sha256=3lPegkSV_2LUf6jEZnj68_g3XUGFB_Fsj1C_6Svr2Kg,8128
75
75
  jaf/policies/validation.py,sha256=-zhB5ysH0Y4JnstHzo3I8tt-PFB9FSHBwSUALITBxw4,11016
76
76
  jaf/providers/__init__.py,sha256=PfIQkCtXb_yiTEjqs5msGv5-a6De2ujFCEaDGJEe_TQ,2100
77
77
  jaf/providers/mcp.py,sha256=fGfrlYx5g7ZX1fBUkPmAYSePKrCc4pG_HKngV_QCdRU,13148
78
- jaf/providers/model.py,sha256=LmZMEozLP3EpnESD5Bhgf31427jEVVzA-dCbkaBK8lM,59387
78
+ jaf/providers/model.py,sha256=psVpZWyuTRAX2wq4Za3-JRrcW9x2KzsvcCzJFw0rRmY,59419
79
79
  jaf/server/__init__.py,sha256=cYqdruJCJ3W1AMmmxMjAnDlj9gh3XbHhtegjq4nYRNY,391
80
80
  jaf/server/main.py,sha256=usdCRZfDP3GWQchh1o2tHd4KqTTFyQQCD9w4khd9rSo,2113
81
81
  jaf/server/server.py,sha256=ZhZ2gmY10eQNaKUlE7ecMkrwMkYkAh-QgKdUJ2q7ktM,51532
@@ -89,9 +89,9 @@ jaf/visualization/functional_core.py,sha256=0Xs2R8ELADKNIgokcbjuxmWwxEyCH1yXIEdG
89
89
  jaf/visualization/graphviz.py,sha256=EwWVIRv8Z7gTiO5Spvcm-z_UUQ1oWNPRgdE33ZzFwx8,11569
90
90
  jaf/visualization/imperative_shell.py,sha256=N5lWzOLMIU_iCoy3n5WCg49eec8VxV8f7JIG6_wNtVw,2506
91
91
  jaf/visualization/types.py,sha256=90G8oClsFa_APqTuMrTW6KjD0oG9I4kVur773dXNW0E,1393
92
- jaf_py-2.6.7.dist-info/licenses/LICENSE,sha256=LXUQBJxdyr-7C4bk9cQBwvsF_xwA-UVstDTKabpcjlI,1063
93
- jaf_py-2.6.7.dist-info/METADATA,sha256=ZBxUFxg-O8CN9xh_WtdDJsOfwduKX9GoEoSCVMq8mIY,27743
94
- jaf_py-2.6.7.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
95
- jaf_py-2.6.7.dist-info/entry_points.txt,sha256=OtIJeNJpb24kgGrqRx9szGgDx1vL9ayq8uHErmu7U5w,41
96
- jaf_py-2.6.7.dist-info/top_level.txt,sha256=Xu1RZbGaM4_yQX7bpalo881hg7N_dybaOW282F15ruE,4
97
- jaf_py-2.6.7.dist-info/RECORD,,
92
+ jaf_py-2.6.9.dist-info/licenses/LICENSE,sha256=LXUQBJxdyr-7C4bk9cQBwvsF_xwA-UVstDTKabpcjlI,1063
93
+ jaf_py-2.6.9.dist-info/METADATA,sha256=1hum7WfLOwqIt40R9vMlFYb9USDFFs8Ms04qtacKk2Q,27743
94
+ jaf_py-2.6.9.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
95
+ jaf_py-2.6.9.dist-info/entry_points.txt,sha256=OtIJeNJpb24kgGrqRx9szGgDx1vL9ayq8uHErmu7U5w,41
96
+ jaf_py-2.6.9.dist-info/top_level.txt,sha256=Xu1RZbGaM4_yQX7bpalo881hg7N_dybaOW282F15ruE,4
97
+ jaf_py-2.6.9.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.10.1)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5