Fixin' crap so relay works again. pre llm redo
This commit is contained in:
@@ -22,15 +22,18 @@ async def reflect_notes(intake_summary: str, identity_block: dict | None) -> dic
|
||||
"Rules for output:\n"
|
||||
"1. Return ONLY valid JSON.\n"
|
||||
"2. JSON must have exactly one key: \"notes\".\n"
|
||||
"3. \"notes\" must be a list of 3–6 short strings.\n"
|
||||
"3. \"notes\" must be a list of 3 to 6 short strings.\n"
|
||||
"4. Notes must be actionable (e.g., \"keep it concise\", \"maintain context\").\n"
|
||||
"5. No markdown, no apologies, no explanations.\n\n"
|
||||
"Return JSON:\n"
|
||||
"{ \"notes\": [\"...\"] }\n"
|
||||
)
|
||||
|
||||
import os
|
||||
backend = os.getenv("LLM_FORCE_BACKEND", "primary")
|
||||
|
||||
raw = await call_llm(prompt, backend="primary")
|
||||
raw = await call_llm(prompt, backend=backend)
|
||||
|
||||
print("[Reflection-Raw]:", raw)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user