2022-11-21 11:30:38 +08:00
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
|
2021-10-07 21:19:24 +08:00
|
|
|
{
|
2022-01-21 10:09:50 +08:00
|
|
|
internal class TestClients
|
2021-10-07 21:19:24 +08:00
|
|
|
{
|
|
|
|
static TestClients()
|
|
|
|
{
|
2024-06-04 22:05:49 +08:00
|
|
|
OpenAIInstance = new WechatOpenAIClient(new WechatOpenAIClientOptions()
|
|
|
|
{
|
|
|
|
AppId = TestConfigs.WechatAppId,
|
|
|
|
Token = TestConfigs.WechatToken,
|
|
|
|
EncodingAESKey = TestConfigs.WechatEncodingAESKey
|
|
|
|
});
|
|
|
|
ChatbotInstance = new WechatChatbotClient(new WechatChatbotClientOptions()
|
2022-01-21 10:09:50 +08:00
|
|
|
{
|
2021-10-11 18:34:21 +08:00
|
|
|
AppId = TestConfigs.WechatAppId,
|
|
|
|
Token = TestConfigs.WechatToken,
|
|
|
|
EncodingAESKey = TestConfigs.WechatEncodingAESKey
|
2021-10-07 21:19:24 +08:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2024-06-04 22:05:49 +08:00
|
|
|
public static readonly WechatOpenAIClient OpenAIInstance;
|
|
|
|
public static readonly WechatChatbotClient ChatbotInstance;
|
2021-10-07 21:19:24 +08:00
|
|
|
}
|
|
|
|
}
|