langtrace-python-sdk 3.1.0__py3-none-any.whl → 3.1.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -147,6 +147,7 @@ def get_exporter(config: LangtraceConfig, host: str):
147
147
  return config.custom_remote_exporter
148
148
 
149
149
  headers = get_headers(config)
150
+ host = f"{host}/api/trace" if host == LANGTRACE_REMOTE_URL else host
150
151
  if "http" in host.lower() or "https" in host.lower():
151
152
  return HTTPExporter(endpoint=host, headers=headers)
152
153
  else:
@@ -1 +1 @@
1
- __version__ = "3.1.0"
1
+ __version__ = "3.1.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: langtrace-python-sdk
3
- Version: 3.1.0
3
+ Version: 3.1.1
4
4
  Summary: Python SDK for LangTrace
5
5
  Project-URL: Homepage, https://github.com/Scale3-Labs/langtrace-python-sdk
6
6
  Author-email: Scale3 Labs <engineering@scale3labs.com>
@@ -98,8 +98,8 @@ examples/vertexai_example/main.py,sha256=gndId5X5ksD-ycxnAWMdEqIDbLc3kz5Vt8vm4YP
98
98
  examples/weaviate_example/__init__.py,sha256=8JMDBsRSEV10HfTd-YC7xb4txBjD3la56snk-Bbg2Kw,618
99
99
  examples/weaviate_example/query_text.py,sha256=wPHQTc_58kPoKTZMygVjTj-2ZcdrIuaausJfMxNQnQc,127162
100
100
  langtrace_python_sdk/__init__.py,sha256=VZM6i71NR7pBQK6XvJWRelknuTYUhqwqE7PlicKa5Wg,1166
101
- langtrace_python_sdk/langtrace.py,sha256=EmkE2bgojuj9o7_TOwprv5kctxumKmTDI1VialJSXDs,12171
102
- langtrace_python_sdk/version.py,sha256=YVoF76lT0p3dIsqphNnDWuqSia3gZP1S1eQYXZ9FbSE,22
101
+ langtrace_python_sdk/langtrace.py,sha256=3lq12_arp6g22qDuO8lh2wNtHZBqrHuofZJUxR1teCQ,12244
102
+ langtrace_python_sdk/version.py,sha256=14eImCCNxRh4pWMIfkKe4h5OCS1ICfRjHSj2AfgEXa0,22
103
103
  langtrace_python_sdk/constants/__init__.py,sha256=3CNYkWMdd1DrkGqzLUgNZXjdAlM6UFMlf_F-odAToyc,146
104
104
  langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=d-3Qn5C_NTy1NkmdavZvy-6vePwTC5curN6QMy2haHc,50
105
105
  langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -243,8 +243,8 @@ tests/pinecone/cassettes/test_query.yaml,sha256=b5v9G3ssUy00oG63PlFUR3JErF2Js-5A
243
243
  tests/pinecone/cassettes/test_upsert.yaml,sha256=neWmQ1v3d03V8WoLl8FoFeeCYImb8pxlJBWnFd_lITU,38607
244
244
  tests/qdrant/conftest.py,sha256=9n0uHxxIjWk9fbYc4bx-uP8lSAgLBVx-cV9UjnsyCHM,381
245
245
  tests/qdrant/test_qdrant.py,sha256=pzjAjVY2kmsmGfrI2Gs2xrolfuaNHz7l1fqGQCjp5_o,3353
246
- langtrace_python_sdk-3.1.0.dist-info/METADATA,sha256=sCkeDBR9zzW4QW-Z4AmOunXl6fcuYp721bklg3bz4io,15868
247
- langtrace_python_sdk-3.1.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
248
- langtrace_python_sdk-3.1.0.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
249
- langtrace_python_sdk-3.1.0.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
250
- langtrace_python_sdk-3.1.0.dist-info/RECORD,,
246
+ langtrace_python_sdk-3.1.1.dist-info/METADATA,sha256=edsnZ8aLtWS9wlM2unHIHZWFSntw8PkDt06X1obiH6w,15868
247
+ langtrace_python_sdk-3.1.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
248
+ langtrace_python_sdk-3.1.1.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
249
+ langtrace_python_sdk-3.1.1.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
250
+ langtrace_python_sdk-3.1.1.dist-info/RECORD,,