malformed deepseek response handling for formatted json

This commit is contained in:
2026-01-02 17:54:06 -07:00
parent d29ba781ba
commit 2a43b29ca9
4 changed files with 62 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ class SimplePromptGenerator:
self.config_path = config_path
self.client = None
self.historic_prompts = []
self.pool_prompts = []
self.prompt_template = ""
self.settings = {}
@@ -34,6 +35,7 @@ class SimplePromptGenerator:
# Load data files
self._load_prompt_template()
self._load_historic_prompts()
self._load_pool_prompts()
def _load_config(self):
"""Load configuration from environment file."""