jaf-py 2.6.6__py3-none-any.whl → 2.6.7__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 +1 -1
- jaf/core/tracing.py +1 -1
- jaf/providers/model.py +16 -0
- {jaf_py-2.6.6.dist-info → jaf_py-2.6.7.dist-info}/METADATA +2 -2
- {jaf_py-2.6.6.dist-info → jaf_py-2.6.7.dist-info}/RECORD +9 -9
- {jaf_py-2.6.6.dist-info → jaf_py-2.6.7.dist-info}/WHEEL +1 -1
- {jaf_py-2.6.6.dist-info → jaf_py-2.6.7.dist-info}/entry_points.txt +0 -0
- {jaf_py-2.6.6.dist-info → jaf_py-2.6.7.dist-info}/licenses/LICENSE +0 -0
- {jaf_py-2.6.6.dist-info → jaf_py-2.6.7.dist-info}/top_level.txt +0 -0
jaf/__init__.py
CHANGED
jaf/core/tracing.py
CHANGED
jaf/providers/model.py
CHANGED
|
@@ -378,6 +378,10 @@ def make_litellm_provider(
|
|
|
378
378
|
# Prepare request parameters
|
|
379
379
|
request_params = {"model": model_name, "messages": messages, "stream": False}
|
|
380
380
|
|
|
381
|
+
# Add session_id from conversation_id for LiteLLM tracking
|
|
382
|
+
if config.conversation_id:
|
|
383
|
+
request_params["extra_body"] = {"session_id": config.conversation_id}
|
|
384
|
+
|
|
381
385
|
# Add optional parameters
|
|
382
386
|
if agent.model_config:
|
|
383
387
|
if agent.model_config.temperature is not None:
|
|
@@ -620,6 +624,10 @@ def make_litellm_provider(
|
|
|
620
624
|
"messages": messages,
|
|
621
625
|
}
|
|
622
626
|
|
|
627
|
+
# Add session_id from conversation_id for LiteLLM tracking
|
|
628
|
+
if config.conversation_id:
|
|
629
|
+
request_params["extra_body"] = {"session_id": config.conversation_id}
|
|
630
|
+
|
|
623
631
|
# Add optional parameters
|
|
624
632
|
if agent.model_config:
|
|
625
633
|
if agent.model_config.temperature is not None:
|
|
@@ -827,6 +835,10 @@ def make_litellm_sdk_provider(
|
|
|
827
835
|
# Prepare request parameters for LiteLLM
|
|
828
836
|
request_params = {"model": model_name, "messages": messages, **self.litellm_kwargs}
|
|
829
837
|
|
|
838
|
+
# Add session_id from conversation_id for LiteLLM tracking
|
|
839
|
+
if config.conversation_id:
|
|
840
|
+
request_params["session_id"] = config.conversation_id
|
|
841
|
+
|
|
830
842
|
# Add API key if provided
|
|
831
843
|
if self.api_key:
|
|
832
844
|
request_params["api_key"] = self.api_key
|
|
@@ -1007,6 +1019,10 @@ def make_litellm_sdk_provider(
|
|
|
1007
1019
|
**self.litellm_kwargs,
|
|
1008
1020
|
}
|
|
1009
1021
|
|
|
1022
|
+
# Add session_id from conversation_id for LiteLLM tracking
|
|
1023
|
+
if config.conversation_id:
|
|
1024
|
+
request_params["session_id"] = config.conversation_id
|
|
1025
|
+
|
|
1010
1026
|
# Add API key if provided
|
|
1011
1027
|
if self.api_key:
|
|
1012
1028
|
request_params["api_key"] = self.api_key
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jaf-py
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.7
|
|
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
|
<!--  -->
|
|
84
84
|
|
|
85
|
-
[](https://github.com/xynehq/jaf-py)
|
|
86
86
|
[](https://www.python.org/)
|
|
87
87
|
[](https://xynehq.github.io/jaf-py/)
|
|
88
88
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
jaf/__init__.py,sha256=
|
|
1
|
+
jaf/__init__.py,sha256=nkcZREAFiazg-N4BdAZAWvirwc574BX7FtM4XasfpTM,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
|
|
@@ -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=
|
|
59
|
+
jaf/core/tracing.py,sha256=pRenMT87-PlHWNSsuH7gcW6sD7zv-XnOqRkMCk2XQ1s,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=
|
|
78
|
+
jaf/providers/model.py,sha256=LmZMEozLP3EpnESD5Bhgf31427jEVVzA-dCbkaBK8lM,59387
|
|
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.
|
|
93
|
-
jaf_py-2.6.
|
|
94
|
-
jaf_py-2.6.
|
|
95
|
-
jaf_py-2.6.
|
|
96
|
-
jaf_py-2.6.
|
|
97
|
-
jaf_py-2.6.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|