Skip to content

Commit 675449c

Browse files
committed
Merge branch 'main' of github.com:Scale3-Labs/langtrace-python-sdk into ali/s3en-2883-support-cerebras-python-library
2 parents 9ae72cd + 28d7e2b commit 675449c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/langtrace_python_sdk/langtrace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def get_exporter(config: LangtraceConfig, host: str):
151151
headers = get_headers(config)
152152
host = f"{host}/api/trace" if host == LANGTRACE_REMOTE_URL else host
153153
if "http" in host.lower() or "https" in host.lower():
154-
return LangTraceExporter(host, config.api_key, config.disable_logging)
154+
return HTTPExporter(endpoint=host, headers=headers)
155155
else:
156156
return GRPCExporter(endpoint=host, headers=headers)
157157

0 commit comments

Comments
 (0)