Skip to content

Commit b5642eb

Browse files
add async base_url for sgp tracer (#152)
1 parent 0defb23 commit b5642eb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/agentex/lib/core/tracing/processors/sgp_tracing_processor.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ def __init__(self, config: SGPTracingProcessorConfig):
8787
self.disabled = config.sgp_api_key == "" or config.sgp_account_id == ""
8888
self._spans: dict[str, SGPSpan] = {}
8989
self.sgp_async_client = (
90-
AsyncSGPClient(api_key=config.sgp_api_key, account_id=config.sgp_account_id)
90+
AsyncSGPClient(
91+
api_key=config.sgp_api_key,
92+
account_id=config.sgp_account_id,
93+
base_url=config.sgp_base_url,
94+
)
9195
if not self.disabled
9296
else None
9397
)

0 commit comments

Comments
 (0)