@tehreet/conduit
Version:
LLM API gateway with intelligent routing, robust process management, and health monitoring
16 lines • 656 B
TypeScript
import { ConduitPlugin, RoutingContext, RoutingDecision } from './plugin-interface';
export declare class SynapsePlugin implements ConduitPlugin {
name: string;
version: string;
customRouter(context: RoutingContext): Promise<RoutingDecision | null>;
onModelSelected(model: string, context: any): Promise<void>;
private extractSynapseContextFromRequest;
private extractSynapseContextData;
private parseJsonSafely;
private evaluateRule;
private evaluateTokenCountCondition;
private evaluateFlagsCondition;
private evaluateModelCondition;
}
export default SynapsePlugin;
//# sourceMappingURL=synapse-plugin.d.ts.map