From dd85246d167fe5b5ed0b851f82b9fc3a72e333ac Mon Sep 17 00:00:00 2001 From: Erich Woo Date: Wed, 15 Oct 2025 15:06:57 -0400 Subject: [PATCH] add async base_url for sgp tracer --- .../lib/core/tracing/processors/sgp_tracing_processor.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/agentex/lib/core/tracing/processors/sgp_tracing_processor.py b/src/agentex/lib/core/tracing/processors/sgp_tracing_processor.py index 26354b86d..8a298121d 100644 --- a/src/agentex/lib/core/tracing/processors/sgp_tracing_processor.py +++ b/src/agentex/lib/core/tracing/processors/sgp_tracing_processor.py @@ -87,7 +87,11 @@ def __init__(self, config: SGPTracingProcessorConfig): self.disabled = config.sgp_api_key == "" or config.sgp_account_id == "" self._spans: dict[str, SGPSpan] = {} self.sgp_async_client = ( - AsyncSGPClient(api_key=config.sgp_api_key, account_id=config.sgp_account_id) + AsyncSGPClient( + api_key=config.sgp_api_key, + account_id=config.sgp_account_id, + base_url=config.sgp_base_url, + ) if not self.disabled else None )