From fc007fdd4ddb0cd4d877e9dcf3cb7a0f4b67c05e Mon Sep 17 00:00:00 2001 From: "devin.yf" Date: Tue, 30 Jul 2024 16:00:05 +0800 Subject: [PATCH] comment new-client-functions --- tongyiclient.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tongyiclient.go b/tongyiclient.go index a4eb86a..0a7572d 100644 --- a/tongyiclient.go +++ b/tongyiclient.go @@ -23,12 +23,14 @@ type TongyiClient struct { baseUrl string } +// qwen client with default base url (CN). func NewTongyiClient(model string, token string) *TongyiClient { httpcli := httpclient.NewHTTPClient() baseURL := qwen.DashScopeBaseURL return newTongyiCLientWithHTTPCli(baseURL, model, token, httpcli) } +// qwen client with international base url. func NewTongyiClientIntl(model string, token string) *TongyiClient { httpcli := httpclient.NewHTTPClient() baseURL := qwen.DashScopeIntlBaseURL