Files
oh-my-opencode/dist/tools/delegate-task/subagent-resolver.d.ts
T
2026-03-14 04:56:50 +00:00

14 lines
553 B
TypeScript

import type { DelegateTaskArgs } from "./types";
import type { ExecutorContext } from "./executor-types";
import type { FallbackEntry } from "../../shared/model-requirements";
export declare function resolveSubagentExecution(args: DelegateTaskArgs, executorCtx: ExecutorContext, parentAgent: string | undefined, categoryExamples: string): Promise<{
agentToUse: string;
categoryModel: {
providerID: string;
modelID: string;
variant?: string;
} | undefined;
fallbackChain?: FallbackEntry[];
error?: string;
}>;