A trust and safety agent that interacts with Osprey for investigation, real-time analysis, and prevention implementations

update prompt

+5 -1
+2
src/agent/prompt.py
··· 194 194 195 195 IMPORTANT: Only use effect functions that exist in the Available UDFs and Effects list in the tool description. Do NOT guess function names. 196 196 197 + IMPORTANT: When using counters to apply a label, always use == with a threshold. Using >= will cause bulk label application that cause ratelimit problems. 198 + 197 199 ## Key Guidelines 198 200 199 201 - Descriptive rule names (e.g., `NewAccountSpamRule` not `Rule1`)
+3 -1
src/osprey/osprey.py
··· 191 191 if index_path.exists(): 192 192 rule_path = str(target.relative_to(OSPREY_RULESET_PATH.resolve())) 193 193 if require_if: 194 - require_line = f"Require(rule='{rule_path}', require_if={require_if})\n" 194 + require_line = ( 195 + f"Require(rule='{rule_path}', require_if={require_if})\n" 196 + ) 195 197 else: 196 198 require_line = f"Require(rule='{rule_path}')\n" 197 199