Major rewire, all modules connected. Intake still wonkey
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# router.py
|
||||
|
||||
from unittest import result
|
||||
from fastapi import APIRouter, HTTPException
|
||||
from pydantic import BaseModel
|
||||
|
||||
@@ -55,7 +56,7 @@ async def run_reason(req: ReasonRequest):
|
||||
)
|
||||
|
||||
# 4. Refinement
|
||||
result = refine_answer(
|
||||
result = await refine_answer(
|
||||
draft_output=draft,
|
||||
reflection_notes=reflection_notes,
|
||||
identity_block=None,
|
||||
@@ -63,6 +64,7 @@ async def run_reason(req: ReasonRequest):
|
||||
)
|
||||
final_neutral = result["final_output"]
|
||||
|
||||
|
||||
# 5. Persona layer
|
||||
persona_answer = await speak(final_neutral)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user