feat(openai): 新增 v2 版机器人配置相关接口

This commit is contained in:
Fu Diwei
2024-06-05 17:49:28 +08:00
parent a92a602a71
commit ea25c0bf24
25 changed files with 546 additions and 19 deletions

View File

@@ -21,6 +21,7 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
WechatAppId = config.GetProperty("AppId").GetString()!;
WechatToken = config.GetProperty("Token").GetString()!;
WechatEncodingAESKey = config.GetProperty("EncodingAESKey").GetString()!;
WechatAccountId = config.GetProperty("AccountId").GetString()!;
WechatAccessToken = config.GetProperty("AccessToken").GetString()!;
}
catch (Exception ex)
@@ -32,6 +33,7 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
public static readonly string WechatAppId;
public static readonly string WechatToken;
public static readonly string WechatEncodingAESKey;
public static readonly string WechatAccountId;
public static readonly string WechatAccessToken;
}
}