Enhances code extraction and project indexing
Adds support for Dart and Liquid languages with tree-sitter parsing. Improves accuracy of code symbol extraction for existing languages. Indexes project files to enhance code navigation features. Migrates build system to facilitate code contributions. Removes git hook functionality. Integrates Sentry for error tracking and reporting. Enhances project initialization and configuration loading.
This commit is contained in:
@@ -9,7 +9,7 @@ import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
import { homedir } from 'os';
|
||||
|
||||
// Global model cache directory (shared across all projects)
|
||||
// Global model cache directory - uses codegraph's models directory for shared embedding models
|
||||
const GLOBAL_MODELS_DIR = path.join(homedir(), '.codegraph', 'models');
|
||||
|
||||
// Dynamic import for @xenova/transformers (ESM-only package)
|
||||
@@ -40,7 +40,7 @@ export interface EmbedderOptions {
|
||||
/** Model ID to use (default: nomic-ai/nomic-embed-text-v1.5) */
|
||||
modelId?: string;
|
||||
|
||||
/** Directory to cache the model (default: .codegraph/models) */
|
||||
/** Directory to cache the model (default: ~/.codegraph/models) */
|
||||
cacheDir?: string;
|
||||
|
||||
/** Whether to show progress during model download */
|
||||
|
||||
Reference in New Issue
Block a user