New web interface, move llm engine to separate process

This commit is contained in:
2025-05-20 09:43:17 +02:00
parent 895a533e01
commit d4a4902b94
137 changed files with 4850 additions and 3503 deletions

View File

@@ -23,7 +23,7 @@ class IterationLogger:
def log_iteration(
self,
timestamp: datetime,
context: str,
context: ET,
response: str,
):
"""
@@ -41,8 +41,7 @@ class IterationLogger:
root.set("system_prompt_hash", self._system_prompt_hash)
root.set("action_schema_hash", self._action_schema_hash)
context_elem = ET.SubElement(root, "context")
context_elem.text = context
root.append(context)
response_elem = ET.SubElement(root, "response")
response_elem.text = response