code-graph-context 2.12.0 → 2.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-graph-context",
3
- "version": "2.12.0",
3
+ "version": "2.12.1",
4
4
  "description": "MCP server that builds code graphs to provide rich context to LLMs",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/drewdrewH/code-graph-context#readme",
@@ -58,10 +58,10 @@ def load_model():
58
58
 
59
59
  use_half = os.environ.get("EMBEDDING_HALF_PRECISION", "").lower() == "true"
60
60
  if use_half:
61
- model = SentenceTransformer(model_name, device=device, model_kwargs={"torch_dtype": "float16"})
61
+ model = SentenceTransformer(model_name, device=device, trust_remote_code=True, model_kwargs={"torch_dtype": "float16"})
62
62
  logger.info(f"Model loaded in float16 (half precision)")
63
63
  else:
64
- model = SentenceTransformer(model_name, device=device)
64
+ model = SentenceTransformer(model_name, device=device, trust_remote_code=True)
65
65
  logger.info(f"Model loaded in float32 (full precision)")
66
66
  logger.info(f"Running warmup...")
67
67