@@ -99,7 +99,6 @@ type InvokeStorageRequest struct {
type InvokeAppRequest struct {
BaseInvokeDifyRequest
- requests.BaseRequestInvokeModel
InvokeAppSchema
}
@@ -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))
},
@@ -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)