fix: adapt Electron model fetcher type
Cross-platform packages / Validate source (push) Canceled after 0s
GoodBuddy Agent Release / Authorize Agent release (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s
GoodBuddy Agent Release / Build darwin arm64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Build linux arm64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Build linux x64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Sign cumulative Agent catalog (push) Canceled after 0s
GoodBuddy Agent Release / Publish Agent to GitHub and OSS (push) Canceled after 0s
Cross-platform packages / Validate source (push) Canceled after 0s
GoodBuddy Agent Release / Authorize Agent release (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s
GoodBuddy Agent Release / Build darwin arm64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Build linux arm64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Build linux x64 compound package (push) Canceled after 0s
GoodBuddy Agent Release / Sign cumulative Agent catalog (push) Canceled after 0s
GoodBuddy Agent Release / Publish Agent to GitHub and OSS (push) Canceled after 0s
This commit is contained in:
+1
-1
@@ -1116,7 +1116,7 @@ if (hasSingleInstanceLock) {
|
|||||||
: Promise.resolve([])
|
: Promise.resolve([])
|
||||||
])
|
])
|
||||||
return createAgentRuntime(defaultWorkspace, settings, {
|
return createAgentRuntime(defaultWorkspace, settings, {
|
||||||
modelFetcher: net.fetch,
|
modelFetcher: net.fetch as unknown as typeof fetch,
|
||||||
outputStore: { backingStore: storageFiles.backingStore },
|
outputStore: { backingStore: storageFiles.backingStore },
|
||||||
outputAdopt: storageFiles.attachments.outputAdopt,
|
outputAdopt: storageFiles.attachments.outputAdopt,
|
||||||
observeFailure: observeDesktopFailure,
|
observeFailure: observeDesktopFailure,
|
||||||
|
|||||||
+1
-1
@@ -6319,7 +6319,7 @@ export function registerIpcHandlers(
|
|||||||
if (profile.authentication === 'api-key' && !profile.apiKey) {
|
if (profile.authentication === 'api-key' && !profile.apiKey) {
|
||||||
throw new Error(`监督者模型连接“${profile.name}”未配置 API Key`)
|
throw new Error(`监督者模型连接“${profile.name}”未配置 API Key`)
|
||||||
}
|
}
|
||||||
return createModelProfileRuntime(settings.workspacePath, settings, profile, net.fetch)
|
return createModelProfileRuntime(settings.workspacePath, settings, profile, net.fetch as unknown as typeof fetch)
|
||||||
}
|
}
|
||||||
const supervisorService = createProductionSupervisorService(supervisionDatabase,
|
const supervisorService = createProductionSupervisorService(supervisionDatabase,
|
||||||
async () => applicationSettingsStore?.get(), resolveSupervisorRuntime, supervisionModelPool,
|
async () => applicationSettingsStore?.get(), resolveSupervisorRuntime, supervisionModelPool,
|
||||||
|
|||||||
Reference in New Issue
Block a user