chore(types) - Fix type checks

This commit is contained in:
2026-04-14 16:47:20 +05:30
parent 5413f86d2b
commit 164747c255
10 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export function createGraphExplorerTool(graph: Graph) {
if (nodeAttr.file) result += `- File: ${nodeAttr.file}\n`;
result += `\nConnected parts:\n`;
neighbors.forEach((neighbor) => {
neighbors.forEach((neighbor: string) => {
const attr = graph.getNodeAttributes(neighbor);
const edges = graph.edges(nodeId, neighbor);
const edgeAttr = graph.getEdgeAttributes(edges[0]);
+1 -1
View File
@@ -3,7 +3,7 @@
* Uses Ollama's reranker API to score documents against a query.
*/
import { RERANKER_MODEL } from "../constants";
import { RERANKER_MODEL } from "../constants.js";
const OLLAMA_HOST = process.env.OLLAMA_HOST || "http://localhost:11434";