fix: cluster worker config issues

This commit is contained in:
jialin
2025-12-18 17:29:07 +08:00
parent e83bff6923
commit 78368e9979
21 changed files with 112 additions and 43 deletions
@@ -72,11 +72,9 @@ const ViewLogsModal: React.FC<ViewModalProps> = (props) => {
if (!props.id) return;
if (open) {
requestRef.current?.current?.cancel?.();
setChunkRequest({
requestRef.current = setChunkRequest({
url: `${MODELS_API}/${props.modelId}/instances`,
handler: updateHandler
}).then((res) => {
requestRef.current = res;
});
} else {
logsViewerRef.current?.abort();
+1 -1
View File
@@ -201,7 +201,7 @@ const Models: React.FC = () => {
search: search,
categories: categories
};
chunkRequedtRef.current = await setChunkRequest({
chunkRequedtRef.current = setChunkRequest({
url: `${MODELS_API}?${qs.stringify(_.pickBy(query, (val: any) => !!val))}`,
handler: updateHandler
});