mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 10:02:04 +00:00
fix: restore latest main typecheck
This commit is contained in:
@@ -566,7 +566,7 @@ export async function monitorTlonProvider(opts: MonitorTlonOpts = {}): Promise<v
|
||||
metadata?: { model?: string };
|
||||
model?: string;
|
||||
};
|
||||
const extRoute = route;
|
||||
const extRoute = route as { model?: string };
|
||||
const defaultModel = cfg.agents?.defaults?.model;
|
||||
const modelInfo =
|
||||
extPayload.metadata?.model ||
|
||||
|
||||
@@ -16,6 +16,7 @@ import type {
|
||||
OpenClawPluginCliRegistrar,
|
||||
OpenClawPluginCommandDefinition,
|
||||
OpenClawPluginHttpRouteAuth,
|
||||
OpenClawPluginGatewayRuntimeScopeSurface,
|
||||
OpenClawPluginHttpRouteHandler,
|
||||
OpenClawPluginHttpRouteMatch,
|
||||
OpenClawPluginReloadRegistration,
|
||||
@@ -66,6 +67,7 @@ export type PluginHttpRouteRegistration = {
|
||||
handler: OpenClawPluginHttpRouteHandler;
|
||||
auth: OpenClawPluginHttpRouteAuth;
|
||||
match: OpenClawPluginHttpRouteMatch;
|
||||
gatewayRuntimeScopeSurface?: OpenClawPluginGatewayRuntimeScopeSurface;
|
||||
source?: string;
|
||||
};
|
||||
|
||||
|
||||
@@ -536,7 +536,7 @@ export function syncUrlWithSessionKey(host: SettingsHost, sessionKey: string, re
|
||||
}
|
||||
|
||||
export async function loadOverview(host: SettingsHost) {
|
||||
const app = host as unknown as OpenClawApp;
|
||||
const app = host as SettingsAppHost;
|
||||
await Promise.allSettled([
|
||||
loadChannels(app, false),
|
||||
loadPresence(app),
|
||||
|
||||
Reference in New Issue
Block a user