Files
fusion/plugins/fusion-plugin-hermes-runtime/dist/pi-module.d.ts
Fusion 3d282819e1 feat(FN-2709): migrate Hermes runtime plugin to pi-ai streaming client
- Replace Hermes pi module integration with pi-ai session streaming and updated runtime adapter contracts
- Remove legacy engine guard scaffolding and add hermes-stream-client coverage for streaming behavior
- Rewrite plugin and engine e2e tests to align with the new runtime flow and regenerate dist artifacts
- Update Hermes runtime README and package metadata to document pi-ai execution expectations
2026-04-27 11:34:49 -07:00

14 lines
705 B
TypeScript

import { type Message } from "@mariozechner/pi-ai";
import type { HermesCallbacks, HermesStreamSession, ResolvedModelConfig } from "./types.js";
export declare function resolveModelConfig(settings?: Record<string, unknown>): ResolvedModelConfig;
export declare function createStreamSession(options: {
provider: string;
modelId: string;
apiKey?: string;
thinkingLevel?: string;
systemPrompt: string;
callbacks?: HermesCallbacks;
}): HermesStreamSession;
export declare function streamPrompt(session: HermesStreamSession, _userMessage: Message): Promise<void>;
export declare function describeStreamModel(session: HermesStreamSession): string;
//# sourceMappingURL=pi-module.d.ts.map