File tree Expand file tree Collapse file tree
prometheus/lang_graph/nodes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ class ContextProviderNode:
8080Available AST node types for code structure search: {ast_node_types}
8181
8282PLEASE CALL THE MINIMUM NUMBER OF TOOLS NEEDED TO ANSWER THE QUERY!
83- DO NOT DO ANYTHING ELSE BESIDES ANSWERING THE QUERY!
8483"""
8584
8685 def __init__ (
@@ -102,11 +101,9 @@ def __init__(
102101 kg: Knowledge graph instance containing the processed codebase structure.
103102 Used to obtain the file tree for system prompts.
104103 """
105- # self.neo4j_driver = neo4j_driver
106104 self .root_node_id = kg .root_node_id
107105 self .kg = kg
108106 self .root_path = local_path
109- # self.max_token_per_result = max_token_per_result
110107 # Initialize GraphTraversalTool with the driver and token limit
111108 self .graph_traversal_tool = GraphTraversalTool (kg )
112109 self .file_operation_tool = FileOperationTool (local_path , kg )
You can’t perform that action at this time.
0 commit comments