Browse Source

Merge branch 'fix-model-name'

1808837298@qq.com 2 năm trước cách đây
mục cha
commit
ca5c4d2dbd
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      relay/relay-text.go

+ 1 - 0
relay/relay-text.go

@@ -59,6 +59,7 @@ func getAndValidateTextRequest(c *gin.Context, relayInfo *relaycommon.RelayInfo)
 		}
 	}
 	relayInfo.IsStream = textRequest.Stream
+	relayInfo.UpstreamModelName = textRequest.Model
 	return textRequest, nil
 }