- 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
14 lines
705 B
TypeScript
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
|