Yaswanth-Bolla commited on
Commit
50bce45
·
1 Parent(s): acf9ed2

Very crude fix

Browse files
Files changed (1) hide show
  1. business_continuity.py +1 -1
business_continuity.py CHANGED
@@ -131,7 +131,7 @@ Description: {request.business_process.process_description}"""
131
  # Parse JSON response directly
132
  try:
133
  # Simple direct parsing - trust the LLM to format correctly
134
- strategies_data = json.loads(api_response)
135
  logger.info(f"Request {request_id}: Successfully parsed JSON")
136
  except json.JSONDecodeError as e:
137
  # If parsing fails, just return the error
 
131
  # Parse JSON response directly
132
  try:
133
  # Simple direct parsing - trust the LLM to format correctly
134
+ strategies_data = json.loads(api_response+'}')
135
  logger.info(f"Request {request_id}: Successfully parsed JSON")
136
  except json.JSONDecodeError as e:
137
  # If parsing fails, just return the error