Spaces:
Sleeping
Sleeping
Update core/generation_engine.py
Browse files
core/generation_engine.py
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
import random
|
| 3 |
# (Keep your placeholder _placeholder_safe_python_execution as is)
|
| 4 |
|
| 5 |
-
from core.llm_clients import call_huggingface_api, call_gemini_api, LLMResponse
|
| 6 |
-
from prompts.system_prompts import get_system_prompt
|
| 7 |
-
from prompts.prompt_templates import
|
| 8 |
|
| 9 |
class EvaluationResult: # Keep this class definition
|
| 10 |
def __init__(self, score=0, critique_text="", passed_tests=0, total_tests=0, execution_summary=None, raw_llm_critique_response=None):
|
|
|
|
| 2 |
import random
|
| 3 |
# (Keep your placeholder _placeholder_safe_python_execution as is)
|
| 4 |
|
| 5 |
+
from core.llm_clients import call_huggingface_api, call_gemini_api, LLMResponse
|
| 6 |
+
from prompts.system_prompts import get_system_prompt
|
| 7 |
+
from prompts.prompt_templates import format_genesis_user_prompt
|
| 8 |
|
| 9 |
class EvaluationResult: # Keep this class definition
|
| 10 |
def __init__(self, score=0, critique_text="", passed_tests=0, total_tests=0, execution_summary=None, raw_llm_critique_response=None):
|