Temp
This commit is contained in:
Binary file not shown.
@@ -59,9 +59,10 @@ class PipelineOrchestrator:
|
||||
# Get raw text from transcript queue
|
||||
raw_text = await self.transcript_queue.get()
|
||||
|
||||
logger.info(f"Processing text: {raw_text}")
|
||||
logger.info(f"LLM Worker: Processing text: {raw_text}")
|
||||
|
||||
# Process via LLM (Filter -> Extract)
|
||||
# Note: this is currently a synchronous call, which blocks the loop.
|
||||
result = self.processor.process_pipeline(raw_text)
|
||||
|
||||
if (
|
||||
@@ -69,10 +70,12 @@ class PipelineOrchestrator:
|
||||
or result.character_updates
|
||||
or result.significant_events
|
||||
):
|
||||
logger.info("Proposal generated. Putting into proposal queue.")
|
||||
logger.info(
|
||||
f"LLM Worker: Proposal generated. Putting into proposal queue. (Lore: {len(result.lore_updates)}, Char: {len(result.character_updates)})"
|
||||
)
|
||||
await self.proposal_queue.put(result)
|
||||
else:
|
||||
logger.info("No relevant game data extracted.")
|
||||
logger.info("LLM Worker: No relevant game data extracted.")
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"LLM Worker error: {e}")
|
||||
|
||||
Reference in New Issue
Block a user