Skip to content

Commit b591ed9

Browse files
authored
Update DefaultAzureCredential to allow InteractiveBrowserCredential (#383)
1 parent 3061ec6 commit b591ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/agents/AIShell.OpenAI.Agent/Service.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private void RefreshOpenAIClient()
158158
}
159159
else
160160
{
161-
var credential = new DefaultAzureCredential();
161+
var credential = new DefaultAzureCredential(includeInteractiveCredentials: true);
162162

163163
var aiClient = new AzureOpenAIClient(
164164
new Uri(_gptToUse.Endpoint),

0 commit comments

Comments
 (0)