nikeshn commited on
Commit
7f53940
·
verified ·
1 Parent(s): 01a35b0

Update src/agentcore/orchestrator.py

Browse files
Files changed (1) hide show
  1. src/agentcore/orchestrator.py +2 -1
src/agentcore/orchestrator.py CHANGED
@@ -150,7 +150,8 @@ def _log_agent_query(question: str, response: AgentResponse, start_time: float)
150
  import asyncio as _al
151
  async def _post_to_worker():
152
  try:
153
- async with httpx.AsyncClient(timeout=5) as _cl:
 
154
  _resp = await _cl.post(
155
  worker_url.rstrip("/") + "/log",
156
  json={
 
150
  import asyncio as _al
151
  async def _post_to_worker():
152
  try:
153
+ from src.services.http_client import make_client as _mk
154
+ async with _mk(timeout=8) as _cl:
155
  _resp = await _cl.post(
156
  worker_url.rstrip("/") + "/log",
157
  json={