Skip to content

Fix JSON parsing in json_utils.py to handle LLM responses#28

Merged
cjohnson74 merged 1 commit intomainfrom
fix/json-utils-llm-parsing
Nov 6, 2025
Merged

Fix JSON parsing in json_utils.py to handle LLM responses#28
cjohnson74 merged 1 commit intomainfrom
fix/json-utils-llm-parsing

Conversation

@cjohnson74
Copy link
Owner

  • Enhanced regex patterns to extract JSON objects and arrays from code blocks
  • Support for various language tags (json, python, py) and no tags
  • Improved manual extraction for both {} and [] structures
  • Added robust error handling with debug messages
  • Fixes LLM code capture issues in mission control and audit agents

Also includes:

  • Control primitives for KSP operations
  • Flight agent improvements
  • Skills database updates
  • Documentation updates

- Enhanced regex patterns to extract JSON objects and arrays from code blocks
- Support for various language tags (json, python, py) and no tags
- Improved manual extraction for both {} and [] structures
- Added robust error handling with debug messages
- Fixes LLM code capture issues in mission control and audit agents

Also includes:
- Control primitives for KSP operations
- Flight agent improvements
- Skills database updates
- Documentation updates
@cjohnson74 cjohnson74 merged commit ab2c3f8 into main Nov 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant