diff --git a/Directory.Packages.props b/Directory.Packages.props index 9d52e67..8a92697 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,14 +6,14 @@ - + - + diff --git a/src/JD.SemanticKernel.Connectors.OpenAICodex/CodexSessionProvider.cs b/src/JD.SemanticKernel.Connectors.OpenAICodex/CodexSessionProvider.cs index dc5355d..0aef9e3 100644 --- a/src/JD.SemanticKernel.Connectors.OpenAICodex/CodexSessionProvider.cs +++ b/src/JD.SemanticKernel.Connectors.OpenAICodex/CodexSessionProvider.cs @@ -1,7 +1,7 @@ -using System.Text.Json; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using System.Security.Cryptography; +using System.Text.Json; using System.Text.RegularExpressions; using JD.SemanticKernel.Connectors.Abstractions; using Microsoft.Extensions.Logging; @@ -511,14 +511,14 @@ UnauthorizedAccessException or private static bool TryReadWindowsCodexKeyringJson(string account, out string json) { json = string.Empty; - const string service = "Codex Auth"; + const string Service = "Codex Auth"; var targets = new[] { - $"{service}:{account}", - $"{service}/{account}", + $"{Service}:{account}", + $"{Service}/{account}", account, - service + Service }; foreach (var target in targets)