RemanenetSpy commited on
Commit
06d06ef
·
1 Parent(s): e78fff0

Fix: Convert all Python to LF line endings + add .gitattributes to prevent CRLF on Linux Docker

Browse files
Files changed (2) hide show
  1. .gitattributes +7 -0
  2. chronos_core/svo_parser.py +1 -0
.gitattributes ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ *.py text eol=lf
2
+ *.txt text eol=lf
3
+ *.md text eol=lf
4
+ *.yml text eol=lf
5
+ *.yaml text eol=lf
6
+ *.json text eol=lf
7
+ Dockerfile text eol=lf
chronos_core/svo_parser.py CHANGED
@@ -258,6 +258,7 @@ class SVOParser:
258
  Robustly extract JSON from messy LLM output.
259
  Handles: bare objects, newlines, markdown fences, partial JSON, etc.
260
  """
 
261
  # 1. Strip whitespace and markdown fences
262
  cleaned = raw.strip()
263
  if cleaned.startswith("```"):
 
258
  Robustly extract JSON from messy LLM output.
259
  Handles: bare objects, newlines, markdown fences, partial JSON, etc.
260
  """
261
+ logger.info(f"_extract_json called with {len(raw)} chars: {raw[:80]}...")
262
  # 1. Strip whitespace and markdown fences
263
  cleaned = raw.strip()
264
  if cleaned.startswith("```"):