Skip to content

Commit 2be670a

Browse files
authored
Update chat_completions.go
1 parent 266815e commit 2be670a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/hunyuan/v20230901/chat_completions.go

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ func main() {
1717
)
1818

1919
cpf := profile.NewClientProfile()
20+
cpf.HttpProfile.ReqTimeout = 360 // 流式接口耗时较长
2021

2122
client, _ := hunyuan.NewClient(credential, regions.Guangzhou, cpf)
2223

0 commit comments

Comments
 (0)