Skip to content

Commit fc007fd

Browse files
committed
comment new-client-functions
1 parent c5a4a22 commit fc007fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tongyiclient.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ type TongyiClient struct {
2323
baseUrl string
2424
}
2525

26+
// qwen client with default base url (CN).
2627
func NewTongyiClient(model string, token string) *TongyiClient {
2728
httpcli := httpclient.NewHTTPClient()
2829
baseURL := qwen.DashScopeBaseURL
2930
return newTongyiCLientWithHTTPCli(baseURL, model, token, httpcli)
3031
}
3132

33+
// qwen client with international base url.
3234
func NewTongyiClientIntl(model string, token string) *TongyiClient {
3335
httpcli := httpclient.NewHTTPClient()
3436
baseURL := qwen.DashScopeIntlBaseURL

0 commit comments

Comments
 (0)