Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-13T18:34:15Z
- 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-13 18:34:15 +00:00
1 parent 5b5c798a27
commit f22583e84e
1 file changed
+9 -2
@@ -235,13 +235,20 @@ export const neuralTools: MCPTool[] = [
.sort((a, b) => b.confidence - a.confidence)
.slice(0, topK);
// Generate real embedding for the input
const startTime = performance.now();
const embedding = await generateEmbedding(inputText, 128);
const latency = Math.round(performance.now() - startTime);
return {
success: true,
_realEmbedding: !!realEmbeddings,
modelId: model?.id || 'default',
input: inputText,
predictions,
embedding: generateEmbedding(128).slice(0, 8),
latency: Math.floor(Math.random() * 50) + 10,
embedding: embedding.slice(0, 8), // Preview of embedding
embeddingDims: embedding.length,
latency,
};
},
},