fix(04): wire pending approval notifications in IPC and API server paths
This commit is contained in:
1 parent
9d01a7acc4
commit
a2a110f0c5
5 files changed
+26
-2
No files matched your search
@@ -145,6 +145,7 @@ export function createMainRuntimeSupport(state: MainRuntimeState) {
|
||||
requireBrowserActionService().resetBrowserManager();
|
||||
},
|
||||
getApiPort: () => state.apiServer?.getPort() ?? 0,
|
||||
notify: (options) => requireIpcSupport().notify(options),
|
||||
listConnectorModels: async (connectorId) => {
|
||||
const definition = getConnectorDefinition(connectorId as Parameters<typeof getConnectorDefinition>[0]);
|
||||
return definition.listModels ? definition.listModels() : [];
|
||||
|
||||
Reference in new issue
Block a user