LoveLogicAI commited on
Commit
339440b
·
verified ·
1 Parent(s): c79fff2

Card facts injected into system prompt as ground truth

Browse files
Files changed (1) hide show
  1. freestream/agent.py +3 -0
freestream/agent.py CHANGED
@@ -195,6 +195,9 @@ class CharacterAgent:
195
  "ACTIONS: you may physically act by wrapping it in asterisks, e.g. "
196
  "*leans forward* — keep actions terse and separate from spoken words.",
197
  ]
 
 
 
198
  parts.append(SAFE_POLICY if self.policy == "safe" else MATURE_POLICY)
199
  if "shell" in self.toolbelt.allowed:
200
  parts.append(
 
195
  "ACTIONS: you may physically act by wrapping it in asterisks, e.g. "
196
  "*leans forward* — keep actions terse and separate from spoken words.",
197
  ]
198
+ if c.get("facts"):
199
+ parts.append("SHIP FACTS (ground truth — never contradict these): "
200
+ + c["facts"])
201
  parts.append(SAFE_POLICY if self.policy == "safe" else MATURE_POLICY)
202
  if "shell" in self.toolbelt.allowed:
203
  parts.append(