We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a0a00 commit be008f4Copy full SHA for be008f4
1 file changed
prometheus/tools/file_operation.py
@@ -77,7 +77,7 @@ def read_file_with_knowledge_graph_data(
77
"preview": {
78
"text": selected_text_with_line_numbers,
79
"start_line": 1,
80
- "end_line": len(selected_text_with_line_numbers),
+ "end_line": len(selected_text_with_line_numbers.splitlines()),
81
},
82
}
83
]
0 commit comments