Files
oh-my-opencode/dist/hooks/runtime-fallback/chat-message-handler.d.ts
T
2026-03-14 04:56:50 +00:00

21 lines
453 B
TypeScript

import type { HookDeps } from "./types";
export declare function createChatMessageHandler(deps: HookDeps): (input: {
sessionID: string;
agent?: string;
model?: {
providerID: string;
modelID: string;
};
}, output: {
message: {
model?: {
providerID: string;
modelID: string;
};
};
parts?: Array<{
type: string;
text?: string;
}>;
}) => Promise<void>;