mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
🐛 fix: pass userId in initModelRuntimeFromDB (#13100)
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user