Files
oh-my-opencode/dist/hooks/no-hephaestus-non-gpt/hook.d.ts
T
2026-03-14 04:56:50 +00:00

21 lines
568 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
type NoHephaestusNonGptHookOptions = {
allowNonGptModel?: boolean;
};
export declare function createNoHephaestusNonGptHook(ctx: PluginInput, options?: NoHephaestusNonGptHookOptions): {
"chat.message": (input: {
sessionID: string;
agent?: string;
model?: {
providerID: string;
modelID: string;
};
}, output?: {
message?: {
agent?: string;
[key: string]: unknown;
};
}) => Promise<void>;
};
export {};