Skip to content

Commit 70d3d4c

Browse files
Aayush KatariaAayush Kataria
authored andcommitted
Fixing builds
1 parent c5d314c commit 70d3d4c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

agent_memory_toolkit/chat.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,7 @@ def _ensure_async_client(self) -> Any:
179179

180180
token_provider = get_bearer_token_provider(self._credential, _TOKEN_SCOPE)
181181
else:
182-
token_provider = _make_sync_token_provider_for_async(
183-
self._credential, _TOKEN_SCOPE
184-
)
182+
token_provider = _make_sync_token_provider_for_async(self._credential, _TOKEN_SCOPE)
185183

186184
self._async_client = AsyncAzureOpenAI(
187185
api_version=self._api_version,

tests/unit/test_chat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ def __init__(self, **kwargs):
302302
captured.update(kwargs)
303303

304304
import sys
305+
305306
fake_openai = MagicMock()
306307
fake_openai.AsyncAzureOpenAI = FakeAsyncAzureOpenAI
307308
monkeypatch.setitem(sys.modules, "openai", fake_openai)

0 commit comments

Comments
 (0)