mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-18 18:48:48 +08:00
feat: add APIEmbedder for remote embedding with multi-endpoint support
- Introduced APIEmbedder class to handle embeddings via a remote HTTP API. - Implemented token packing to optimize batch sizes based on token limits. - Added support for multiple API endpoints with round-robin dispatching. - Included retry logic for API calls with exponential backoff on failures. - Enhanced indexing pipeline with file exclusion checks and smart chunking strategies. - Updated tests to cover new APIEmbedder functionality and ensure robustness.
This commit is contained in:
@@ -16,7 +16,6 @@ import { cn } from '@/lib/utils';
|
||||
import type { CodexLensVenvStatus, CodexLensConfig } from '@/lib/api';
|
||||
import { IndexOperations } from './IndexOperations';
|
||||
import { FileWatcherCard } from './FileWatcherCard';
|
||||
import { LspServerCard } from './LspServerCard';
|
||||
|
||||
interface OverviewTabProps {
|
||||
installed: boolean;
|
||||
@@ -145,9 +144,8 @@ export function OverviewTab({ installed, status, config, isLoading, onRefresh }:
|
||||
</div>
|
||||
|
||||
{/* Service Management */}
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
||||
<div className="grid grid-cols-1 gap-4">
|
||||
<FileWatcherCard disabled={!isReady} />
|
||||
<LspServerCard disabled={!isReady} />
|
||||
</div>
|
||||
|
||||
{/* Index Operations */}
|
||||
|
||||
Reference in New Issue
Block a user