mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 01:58:14 +08:00
25 lines
845 B
C#
25 lines
845 B
C#
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
|
|
{
|
|
internal class TestClients
|
|
{
|
|
static TestClients()
|
|
{
|
|
OpenAIInstance = new WechatOpenAIClient(new WechatOpenAIClientOptions()
|
|
{
|
|
AppId = TestConfigs.WechatAppId,
|
|
Token = TestConfigs.WechatToken,
|
|
EncodingAESKey = TestConfigs.WechatEncodingAESKey
|
|
});
|
|
ChatbotInstance = new WechatChatbotClient(new WechatChatbotClientOptions()
|
|
{
|
|
AppId = TestConfigs.WechatAppId,
|
|
Token = TestConfigs.WechatToken,
|
|
EncodingAESKey = TestConfigs.WechatEncodingAESKey
|
|
});
|
|
}
|
|
|
|
public static readonly WechatOpenAIClient OpenAIInstance;
|
|
public static readonly WechatChatbotClient ChatbotInstance;
|
|
}
|
|
}
|