langtrace-python-sdk 3.3.24__py3-none-any.whl → 3.3.25__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/openai/patch.py +8 -0
- langtrace_python_sdk/version.py +1 -1
- {langtrace_python_sdk-3.3.24.dist-info → langtrace_python_sdk-3.3.25.dist-info}/METADATA +1 -1
- {langtrace_python_sdk-3.3.24.dist-info → langtrace_python_sdk-3.3.25.dist-info}/RECORD +8 -8
- {langtrace_python_sdk-3.3.24.dist-info → langtrace_python_sdk-3.3.25.dist-info}/WHEEL +0 -0
- {langtrace_python_sdk-3.3.24.dist-info → langtrace_python_sdk-3.3.25.dist-info}/entry_points.txt +0 -0
- {langtrace_python_sdk-3.3.24.dist-info → langtrace_python_sdk-3.3.25.dist-info}/licenses/LICENSE +0 -0
@@ -254,6 +254,8 @@ def chat_completions_create(version: str, tracer: Tracer) -> Callable:
|
|
254
254
|
service_provider = SERVICE_PROVIDERS["XAI"]
|
255
255
|
elif "deepseek" in get_base_url(instance):
|
256
256
|
service_provider = SERVICE_PROVIDERS["DEEPSEEK"]
|
257
|
+
elif ":12000" in get_base_url(instance) or ":10000" in get_base_url(instance):
|
258
|
+
service_provider = SERVICE_PROVIDERS["ARCH"]
|
257
259
|
llm_prompts = []
|
258
260
|
for item in kwargs.get("messages", []):
|
259
261
|
tools = get_tool_calls(item)
|
@@ -348,6 +350,8 @@ def async_chat_completions_create(version: str, tracer: Tracer) -> Callable:
|
|
348
350
|
service_provider = SERVICE_PROVIDERS["XAI"]
|
349
351
|
elif "deepseek" in get_base_url(instance):
|
350
352
|
service_provider = SERVICE_PROVIDERS["DEEPSEEK"]
|
353
|
+
elif ":12000" in get_base_url(instance) or ":10000" in get_base_url(instance):
|
354
|
+
service_provider = SERVICE_PROVIDERS["ARCH"]
|
351
355
|
llm_prompts = []
|
352
356
|
for item in kwargs.get("messages", []):
|
353
357
|
tools = get_tool_calls(item)
|
@@ -447,6 +451,8 @@ def embeddings_create(version: str, tracer: Tracer) -> Callable:
|
|
447
451
|
service_provider = SERVICE_PROVIDERS["XAI"]
|
448
452
|
elif "deepseek" in base_url:
|
449
453
|
service_provider = SERVICE_PROVIDERS["DEEPSEEK"]
|
454
|
+
elif ":12000" in base_url or ":10000" in base_url:
|
455
|
+
service_provider = SERVICE_PROVIDERS["ARCH"]
|
450
456
|
|
451
457
|
span_attributes = {
|
452
458
|
**get_langtrace_attributes(version, service_provider, vendor_type="llm"),
|
@@ -533,6 +539,8 @@ def async_embeddings_create(version: str, tracer: Tracer) -> Callable:
|
|
533
539
|
service_provider = SERVICE_PROVIDERS["XAI"]
|
534
540
|
elif "deepseek" in base_url:
|
535
541
|
service_provider = SERVICE_PROVIDERS["DEEPSEEK"]
|
542
|
+
elif ":12000" in base_url or ":10000" in base_url:
|
543
|
+
service_provider = SERVICE_PROVIDERS["ARCH"]
|
536
544
|
|
537
545
|
span_attributes = {
|
538
546
|
**get_langtrace_attributes(version, service_provider, vendor_type="llm"),
|
langtrace_python_sdk/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "3.3.
|
1
|
+
__version__ = "3.3.25"
|
@@ -111,7 +111,7 @@ examples/weaviate_example/__init__.py,sha256=8JMDBsRSEV10HfTd-YC7xb4txBjD3la56sn
|
|
111
111
|
examples/weaviate_example/query_text.py,sha256=wPHQTc_58kPoKTZMygVjTj-2ZcdrIuaausJfMxNQnQc,127162
|
112
112
|
langtrace_python_sdk/__init__.py,sha256=VZM6i71NR7pBQK6XvJWRelknuTYUhqwqE7PlicKa5Wg,1166
|
113
113
|
langtrace_python_sdk/langtrace.py,sha256=jvfrnkAxc41dmIvwNuVcXwCWyV2vqhGV5qAr5KiMHBA,13239
|
114
|
-
langtrace_python_sdk/version.py,sha256=
|
114
|
+
langtrace_python_sdk/version.py,sha256=az2Dhu6yZKkkThV8SgI4rYzbUuCu_ZG2DXjZd5fMiF0,23
|
115
115
|
langtrace_python_sdk/constants/__init__.py,sha256=3CNYkWMdd1DrkGqzLUgNZXjdAlM6UFMlf_F-odAToyc,146
|
116
116
|
langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=EVCrouYCpY98f0KSaKr4PzNxPULTZZO6dSA_crEOyJU,106
|
117
117
|
langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -119,7 +119,7 @@ langtrace_python_sdk/constants/instrumentation/anthropic.py,sha256=YX3llt3zwDY6X
|
|
119
119
|
langtrace_python_sdk/constants/instrumentation/aws_bedrock.py,sha256=QwKtO4NBarOZoGkt5cFCcpxAw3zvZxcMMWBbzPPGv-g,422
|
120
120
|
langtrace_python_sdk/constants/instrumentation/chroma.py,sha256=hiPGYdHS0Yj4Kh3eaYBbuCAl_swqIygu80yFqkOgdak,955
|
121
121
|
langtrace_python_sdk/constants/instrumentation/cohere.py,sha256=9yD133VdrYZ5BoJR4nJHlj67gHEImB9-KsD-NkzHW1I,1159
|
122
|
-
langtrace_python_sdk/constants/instrumentation/common.py,sha256=
|
122
|
+
langtrace_python_sdk/constants/instrumentation/common.py,sha256=0_38AXPFLZnnI6T7wMiSDzTP8AAT-dmNi7Mui0q5WMg,1223
|
123
123
|
langtrace_python_sdk/constants/instrumentation/embedchain.py,sha256=HodCJvaFjILoOG50OwFObxfVxt_8VUaIAIqvgoN3tzo,278
|
124
124
|
langtrace_python_sdk/constants/instrumentation/gemini.py,sha256=UAmfgg9FM7uNeOCdPfWlir6OIH-8BoxFGPRpdBd9ZZs,358
|
125
125
|
langtrace_python_sdk/constants/instrumentation/groq.py,sha256=VFXmIl4aqGY_fS0PAmjPj_Qm7Tibxbx7Ur_e7rQpqXc,134
|
@@ -206,7 +206,7 @@ langtrace_python_sdk/instrumentation/ollama/instrumentation.py,sha256=jdsvkqUJAA
|
|
206
206
|
langtrace_python_sdk/instrumentation/ollama/patch.py,sha256=w99r9wCCVDdJnZQEezYE2lW_iNFEtrldt9vq3ISAsag,5375
|
207
207
|
langtrace_python_sdk/instrumentation/openai/__init__.py,sha256=VPHRNCQEdkizIVP2d0Uw_a7t8XOTSTprEIB8oboJFbs,95
|
208
208
|
langtrace_python_sdk/instrumentation/openai/instrumentation.py,sha256=PZxI0qfoud1VsKGmJu49YDp0Z9z9TzCR8qxR3uznOMA,2810
|
209
|
-
langtrace_python_sdk/instrumentation/openai/patch.py,sha256=
|
209
|
+
langtrace_python_sdk/instrumentation/openai/patch.py,sha256=EQRE_b_os6jqdqKOj6XZb58QT3tUyCAcFUiwM0CDDLU,27329
|
210
210
|
langtrace_python_sdk/instrumentation/openai/types.py,sha256=aVkoa7tmAbYfyOhnyMrDaVjQuwhmRNLMthlNtKMtWX8,4311
|
211
211
|
langtrace_python_sdk/instrumentation/pinecone/__init__.py,sha256=DzXyGh9_MGWveJvXULkFwdkf7PbG2s3bAWtT1Dmz7Ok,99
|
212
212
|
langtrace_python_sdk/instrumentation/pinecone/instrumentation.py,sha256=HDXkRITrVPwdQEoOYJOfMzZE_2-vDDvuqHTlD8W1lQw,1845
|
@@ -277,8 +277,8 @@ tests/pinecone/cassettes/test_query.yaml,sha256=b5v9G3ssUy00oG63PlFUR3JErF2Js-5A
|
|
277
277
|
tests/pinecone/cassettes/test_upsert.yaml,sha256=neWmQ1v3d03V8WoLl8FoFeeCYImb8pxlJBWnFd_lITU,38607
|
278
278
|
tests/qdrant/conftest.py,sha256=9n0uHxxIjWk9fbYc4bx-uP8lSAgLBVx-cV9UjnsyCHM,381
|
279
279
|
tests/qdrant/test_qdrant.py,sha256=pzjAjVY2kmsmGfrI2Gs2xrolfuaNHz7l1fqGQCjp5_o,3353
|
280
|
-
langtrace_python_sdk-3.3.
|
281
|
-
langtrace_python_sdk-3.3.
|
282
|
-
langtrace_python_sdk-3.3.
|
283
|
-
langtrace_python_sdk-3.3.
|
284
|
-
langtrace_python_sdk-3.3.
|
280
|
+
langtrace_python_sdk-3.3.25.dist-info/METADATA,sha256=s4G6wsJb-vgM1moTavHUaw6q_aWzKvpxrLgapDjxOsU,15676
|
281
|
+
langtrace_python_sdk-3.3.25.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
282
|
+
langtrace_python_sdk-3.3.25.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
|
283
|
+
langtrace_python_sdk-3.3.25.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
284
|
+
langtrace_python_sdk-3.3.25.dist-info/RECORD,,
|
File without changes
|
{langtrace_python_sdk-3.3.24.dist-info → langtrace_python_sdk-3.3.25.dist-info}/entry_points.txt
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.24.dist-info → langtrace_python_sdk-3.3.25.dist-info}/licenses/LICENSE
RENAMED
File without changes
|