Skip to content

Commit 64183b5

Browse files
committed
refactor: remove unused variables in context provider node initialization
1 parent 7781583 commit 64183b5

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

prometheus/lang_graph/nodes/context_provider_node.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ class ContextProviderNode:
8080
Available AST node types for code structure search: {ast_node_types}
8181
8282
PLEASE 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)

0 commit comments

Comments
 (0)