mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
chore(types) - Fix type checks
This commit is contained in:
@@ -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]);
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user