File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ require (
1010 github.com/go-git/go-git/v5 v5.16.2
1111 github.com/google/uuid v1.6.0
1212 github.com/hashicorp/go-version v1.7.0
13- github.com/langgenius/dify-cloud-kit v0.1.0
13+ github.com/langgenius/dify-cloud-kit v0.1.1
1414 github.com/panjf2000/ants/v2 v2.10.0
1515 github.com/redis/go-redis/v9 v9.5.5
1616 github.com/spf13/cobra v1.8.1
Original file line number Diff line number Diff line change @@ -240,8 +240,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
240240github.com/kr/text v0.2.0 /go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE =
241241github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc =
242242github.com/kylelemons/godebug v1.1.0 /go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw =
243- github.com/langgenius/dify-cloud-kit v0.1.0 h1:nqI+nT77jaSwB3jaGBmh0czGWqz9vA/kSc3YTiFXm0Y =
244- github.com/langgenius/dify-cloud-kit v0.1.0 /go.mod h1:Ji3gs2B0I3swppmjaIKbOOpGgbsKu6JVpVcUSYWOBeo =
243+ github.com/langgenius/dify-cloud-kit v0.1.1 h1:VR7tybvhNZ0L6ORouZlRyeyBBPuxVYPUbh/ozyn5mIQ =
244+ github.com/langgenius/dify-cloud-kit v0.1.1 /go.mod h1:6XdvO+o95ZV+a/fyHErXEYORlzN6QCjnBz5SHJk5xSc =
245245github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ =
246246github.com/leodido/go-urn v1.4.0 /go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI =
247247github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY =
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ func initOSS(config *app.Config) oss.OSS {
3434 },
3535 TencentCOS : & oss.TencentCOS {
3636 Region : config .TencentCOSRegion ,
37+ Endpoint : config .TencentCOSEndpoint ,
3738 SecretID : config .TencentCOSSecretId ,
3839 SecretKey : config .TencentCOSSecretKey ,
3940 Bucket : config .PluginStorageOSSBucket ,
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ type Config struct {
3737 TencentCOSSecretKey string `envconfig:"TENCENT_COS_SECRET_KEY"`
3838 TencentCOSSecretId string `envconfig:"TENCENT_COS_SECRET_ID"`
3939 TencentCOSRegion string `envconfig:"TENCENT_COS_REGION"`
40+ TencentCOSEndpoint string `envconfig:"TENCENT_COS_ENDPOINT"`
4041
4142 // azure blob
4243 AzureBlobStorageContainerName string `envconfig:"AZURE_BLOB_STORAGE_CONTAINER_NAME"`
You can’t perform that action at this time.
0 commit comments