Yeuoly 11 місяців тому
батько
коміт
7322d50a5d

+ 0 - 1
internal/core/dify_invocation/types.go

@@ -99,7 +99,6 @@ type InvokeStorageRequest struct {
 
 type InvokeAppRequest struct {
 	BaseInvokeDifyRequest
-	requests.BaseRequestInvokeModel
 
 	InvokeAppSchema
 }

+ 1 - 1
internal/server/controllers/remote_debugging.go

@@ -7,7 +7,7 @@ import (
 )
 
 func GetRemoteDebuggingKey(c *gin.Context) {
-	BindRequest[requests.RequestGetRemoteDebuggingKey](
+	BindRequest(
 		c, func(request requests.RequestGetRemoteDebuggingKey) {
 			c.JSON(200, service.GetRemoteDebuggingKey(request.TenantID))
 		},

+ 1 - 2
internal/utils/http_requests/http_warpper.go

@@ -114,8 +114,7 @@ func RequestAndParseStream[T any](client *http.Client, url string, method string
 			// unmarshal
 			t, err := parser.UnmarshalJsonBytes[T](data)
 			if err != nil {
-				ch.WriteError(err)
-				break
+				continue
 			}
 
 			ch.Write(t)