Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T03:55:39Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-07 03:55:39 +00:00
1 parent 7526e59064
commit 1e85414fce
1 file changed
+29 -1
+29 -1
View File
@@ -92,13 +92,41 @@ export interface MockEmbeddingConfig extends EmbeddingBaseConfig {
simulatedLatency?: number;
}
/**
* Agentic-flow provider configuration
* Uses optimized ONNX embeddings with:
* - Float32Array with flattened matrices
* - 256-entry LRU cache with FNV-1a hash
* - SIMD-friendly loop unrolling (4x)
* - Pre-allocated buffers (no GC pressure)
*/
export interface AgenticFlowEmbeddingConfig extends EmbeddingBaseConfig {
provider: 'agentic-flow';
/** Model ID (default: all-MiniLM-L6-v2) */
modelId?: string;
/** Embedding dimensions (default: 384) */
dimensions?: number;
/** Internal cache size for embedder (default: 256) */
embedderCacheSize?: number;
/** Model directory path */
modelDir?: string;
/** Auto-download model if not present */
autoDownload?: boolean;
}
/**
* Union of all provider configs
*/
export type EmbeddingConfig =
| OpenAIEmbeddingConfig
| TransformersEmbeddingConfig
| MockEmbeddingConfig;
| MockEmbeddingConfig
| AgenticFlowEmbeddingConfig;
// ============================================================================
// Result Types