🐛 fix: pass userId in initModelRuntimeFromDB (#13100)

This commit is contained in:
YuTengjing
2026-03-18 15:11:29 +08:00
committed by GitHub
parent 52652866e0
commit e9766be3f3

View File

@@ -425,5 +425,5 @@ export const initModelRuntimeFromDB = async (
const hooks = getBusinessModelRuntimeHooks(userId, provider);
// 5. Initialize ModelRuntime with the payload and hooks
return initModelRuntimeWithUserPayload(provider, payload, {}, hooks);
return initModelRuntimeWithUserPayload(provider, payload, { userId }, hooks);
};