mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-06 01:54:11 +08:00
feat: 添加多端点支持和负载均衡功能,增强 LiteLLM 嵌入管理
This commit is contained in:
@@ -290,7 +290,7 @@ interface IndexStatus {
|
||||
file_count?: number;
|
||||
embeddings_coverage_percent?: number;
|
||||
total_chunks?: number;
|
||||
model_info?: ModelInfo;
|
||||
model_info?: ModelInfo | null;
|
||||
warning?: string;
|
||||
}
|
||||
|
||||
@@ -359,7 +359,8 @@ async function checkIndexStatus(path: string = '.'): Promise<IndexStatus> {
|
||||
file_count: status.total_files,
|
||||
embeddings_coverage_percent: embeddingsCoverage,
|
||||
total_chunks: totalChunks,
|
||||
model_info: modelInfo,
|
||||
// Ensure model_info is null instead of undefined so it's included in JSON
|
||||
model_info: modelInfo ?? null,
|
||||
warning,
|
||||
};
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user