codelion commited on
Commit
7c3f514
·
verified ·
1 Parent(s): 6fbd6e2

Update github_repo_analyzer.py

Browse files
Files changed (1) hide show
  1. github_repo_analyzer.py +0 -7
github_repo_analyzer.py CHANGED
@@ -34,13 +34,6 @@ def run_semgrep(repo_path):
34
  print("Failed to parse Semgrep output")
35
  return None
36
 
37
- def parse_llm_response(response):
38
- try:
39
- return json.loads(response)
40
- except json.JSONDecodeError:
41
- print(f"Warning: Failed to parse LLM response as JSON. Response: {response[:100]}...")
42
- return []
43
-
44
  def get_repo_info(input_str):
45
  if input_str.startswith("http") or input_str.startswith("https"):
46
  parsed_url = urlparse(input_str)
 
34
  print("Failed to parse Semgrep output")
35
  return None
36
 
 
 
 
 
 
 
 
37
  def get_repo_info(input_str):
38
  if input_str.startswith("http") or input_str.startswith("https"):
39
  parsed_url = urlparse(input_str)