Skip to content

Commit c09db80

Browse files
committed
Update reasoning_agent.py
1 parent 7244708 commit c09db80

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/backend/v3/magentic_agents/reasoning_agent.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ def __init__(self, agent_name: str,
3737
async def _after_open(self) -> None:
3838
self.kernel = Kernel()
3939

40-
# Token provider for SK chat completion
41-
sync_cred = SyncDefaultAzureCredential()
42-
43-
def ad_token_provider() -> str:
44-
token = sync_cred.get_token("https://cognitiveservices.azure.com/.default")
45-
return token.token
4640

4741
chat = AzureChatCompletion(
4842
deployment_name=self._model_deployment_name,

0 commit comments

Comments
 (0)