langtrace-python-sdk 3.3.9__py3-none-any.whl → 3.3.11__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- langtrace_python_sdk/constants/instrumentation/common.py +1 -0
- langtrace_python_sdk/instrumentation/ollama/patch.py +1 -1
- langtrace_python_sdk/instrumentation/openai/patch.py +2 -0
- langtrace_python_sdk/version.py +1 -1
- {langtrace_python_sdk-3.3.9.dist-info → langtrace_python_sdk-3.3.11.dist-info}/METADATA +1 -1
- {langtrace_python_sdk-3.3.9.dist-info → langtrace_python_sdk-3.3.11.dist-info}/RECORD +9 -9
- {langtrace_python_sdk-3.3.9.dist-info → langtrace_python_sdk-3.3.11.dist-info}/WHEEL +0 -0
- {langtrace_python_sdk-3.3.9.dist-info → langtrace_python_sdk-3.3.11.dist-info}/entry_points.txt +0 -0
- {langtrace_python_sdk-3.3.9.dist-info → langtrace_python_sdk-3.3.11.dist-info}/licenses/LICENSE +0 -0
@@ -84,7 +84,7 @@ def ageneric_patch(operation_name, version, tracer):
|
|
84
84
|
try:
|
85
85
|
result = await wrapped(*args, **kwargs)
|
86
86
|
if kwargs.get("stream"):
|
87
|
-
return StreamWrapper(
|
87
|
+
return StreamWrapper(result, span)
|
88
88
|
else:
|
89
89
|
_set_response_attributes(span, result)
|
90
90
|
span.end()
|
@@ -252,6 +252,8 @@ def chat_completions_create(version: str, tracer: Tracer) -> Callable:
|
|
252
252
|
service_provider = SERVICE_PROVIDERS["GROQ"]
|
253
253
|
elif "x.ai" in get_base_url(instance):
|
254
254
|
service_provider = SERVICE_PROVIDERS["XAI"]
|
255
|
+
elif "deepseek" in get_base_url(instance):
|
256
|
+
service_provider = SERVICE_PROVIDERS["DEEPSEEK"]
|
255
257
|
llm_prompts = []
|
256
258
|
for item in kwargs.get("messages", []):
|
257
259
|
tools = get_tool_calls(item)
|
langtrace_python_sdk/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "3.3.
|
1
|
+
__version__ = "3.3.11"
|
@@ -105,7 +105,7 @@ examples/weaviate_example/__init__.py,sha256=8JMDBsRSEV10HfTd-YC7xb4txBjD3la56sn
|
|
105
105
|
examples/weaviate_example/query_text.py,sha256=wPHQTc_58kPoKTZMygVjTj-2ZcdrIuaausJfMxNQnQc,127162
|
106
106
|
langtrace_python_sdk/__init__.py,sha256=VZM6i71NR7pBQK6XvJWRelknuTYUhqwqE7PlicKa5Wg,1166
|
107
107
|
langtrace_python_sdk/langtrace.py,sha256=TtRWuUiWUB0S7JiQpUsF9lZsiyqPG3m9mMDX-QlDgAw,12601
|
108
|
-
langtrace_python_sdk/version.py,sha256=
|
108
|
+
langtrace_python_sdk/version.py,sha256=8z892wHTeofZFdOEAH717nrRAZ1euxjj23yT75bY2Kg,23
|
109
109
|
langtrace_python_sdk/constants/__init__.py,sha256=3CNYkWMdd1DrkGqzLUgNZXjdAlM6UFMlf_F-odAToyc,146
|
110
110
|
langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=d-3Qn5C_NTy1NkmdavZvy-6vePwTC5curN6QMy2haHc,50
|
111
111
|
langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -113,7 +113,7 @@ langtrace_python_sdk/constants/instrumentation/anthropic.py,sha256=YX3llt3zwDY6X
|
|
113
113
|
langtrace_python_sdk/constants/instrumentation/aws_bedrock.py,sha256=f9eukqoxrPgPeaBJX2gpBUz1uu0dZIPahOpvoudfbH8,310
|
114
114
|
langtrace_python_sdk/constants/instrumentation/chroma.py,sha256=hiPGYdHS0Yj4Kh3eaYBbuCAl_swqIygu80yFqkOgdak,955
|
115
115
|
langtrace_python_sdk/constants/instrumentation/cohere.py,sha256=tf9sDfb5K3qOAHChEE5o8eYWPZ1io58VsOjZDCZPxfw,577
|
116
|
-
langtrace_python_sdk/constants/instrumentation/common.py,sha256=
|
116
|
+
langtrace_python_sdk/constants/instrumentation/common.py,sha256=DPDX8icb0Tj3OrgpbL9WeiIaMG7Si2IKiSL8YRwwor4,1203
|
117
117
|
langtrace_python_sdk/constants/instrumentation/embedchain.py,sha256=HodCJvaFjILoOG50OwFObxfVxt_8VUaIAIqvgoN3tzo,278
|
118
118
|
langtrace_python_sdk/constants/instrumentation/gemini.py,sha256=UAmfgg9FM7uNeOCdPfWlir6OIH-8BoxFGPRpdBd9ZZs,358
|
119
119
|
langtrace_python_sdk/constants/instrumentation/groq.py,sha256=VFXmIl4aqGY_fS0PAmjPj_Qm7Tibxbx7Ur_e7rQpqXc,134
|
@@ -192,10 +192,10 @@ langtrace_python_sdk/instrumentation/mistral/instrumentation.py,sha256=qtCkHCSOa
|
|
192
192
|
langtrace_python_sdk/instrumentation/mistral/patch.py,sha256=5EzqMeIEcMUH8P-l9-ijpRNWSc6mYwe9Gz0VY4PLrS0,6559
|
193
193
|
langtrace_python_sdk/instrumentation/ollama/__init__.py,sha256=g2zJsXnDHinXPzTc-WxDeTtHmr9gmAj3K6l_00kP8c8,82
|
194
194
|
langtrace_python_sdk/instrumentation/ollama/instrumentation.py,sha256=jdsvkqUJAAUNLVPtAkn_rG26HXetVQXWtjn4a6eWZro,2029
|
195
|
-
langtrace_python_sdk/instrumentation/ollama/patch.py,sha256=
|
195
|
+
langtrace_python_sdk/instrumentation/ollama/patch.py,sha256=w99r9wCCVDdJnZQEezYE2lW_iNFEtrldt9vq3ISAsag,5375
|
196
196
|
langtrace_python_sdk/instrumentation/openai/__init__.py,sha256=VPHRNCQEdkizIVP2d0Uw_a7t8XOTSTprEIB8oboJFbs,95
|
197
197
|
langtrace_python_sdk/instrumentation/openai/instrumentation.py,sha256=PZxI0qfoud1VsKGmJu49YDp0Z9z9TzCR8qxR3uznOMA,2810
|
198
|
-
langtrace_python_sdk/instrumentation/openai/patch.py,sha256=
|
198
|
+
langtrace_python_sdk/instrumentation/openai/patch.py,sha256=V--KWPZ_tQAfSAMOVaHxeDt0ZBK7YTMjcWlfiUwrsF8,25058
|
199
199
|
langtrace_python_sdk/instrumentation/openai/types.py,sha256=aVkoa7tmAbYfyOhnyMrDaVjQuwhmRNLMthlNtKMtWX8,4311
|
200
200
|
langtrace_python_sdk/instrumentation/pinecone/__init__.py,sha256=DzXyGh9_MGWveJvXULkFwdkf7PbG2s3bAWtT1Dmz7Ok,99
|
201
201
|
langtrace_python_sdk/instrumentation/pinecone/instrumentation.py,sha256=HDXkRITrVPwdQEoOYJOfMzZE_2-vDDvuqHTlD8W1lQw,1845
|
@@ -264,8 +264,8 @@ tests/pinecone/cassettes/test_query.yaml,sha256=b5v9G3ssUy00oG63PlFUR3JErF2Js-5A
|
|
264
264
|
tests/pinecone/cassettes/test_upsert.yaml,sha256=neWmQ1v3d03V8WoLl8FoFeeCYImb8pxlJBWnFd_lITU,38607
|
265
265
|
tests/qdrant/conftest.py,sha256=9n0uHxxIjWk9fbYc4bx-uP8lSAgLBVx-cV9UjnsyCHM,381
|
266
266
|
tests/qdrant/test_qdrant.py,sha256=pzjAjVY2kmsmGfrI2Gs2xrolfuaNHz7l1fqGQCjp5_o,3353
|
267
|
-
langtrace_python_sdk-3.3.
|
268
|
-
langtrace_python_sdk-3.3.
|
269
|
-
langtrace_python_sdk-3.3.
|
270
|
-
langtrace_python_sdk-3.3.
|
271
|
-
langtrace_python_sdk-3.3.
|
267
|
+
langtrace_python_sdk-3.3.11.dist-info/METADATA,sha256=ReGla3YZNI-O-8R3BP4gt1Pu8IyfJOer19fvSuz7XJg,15643
|
268
|
+
langtrace_python_sdk-3.3.11.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
269
|
+
langtrace_python_sdk-3.3.11.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
|
270
|
+
langtrace_python_sdk-3.3.11.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
271
|
+
langtrace_python_sdk-3.3.11.dist-info/RECORD,,
|
File without changes
|
{langtrace_python_sdk-3.3.9.dist-info → langtrace_python_sdk-3.3.11.dist-info}/entry_points.txt
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.9.dist-info → langtrace_python_sdk-3.3.11.dist-info}/licenses/LICENSE
RENAMED
File without changes
|