This commit is contained in:
Cody Borders 2026-04-15 15:29:39 -07:00
parent 71055d64a7
commit 2dc6acc67e

View File

@ -31,7 +31,7 @@ Browser -> /api/chat -> FastAPI -> agent.run_turn -> Claude
## Hallucination and safety controls
A system prompt is _mostly_ reliable, but models will forget or ignore them from time to time. I've added guardrails on tools (similar to hooks you'd see in Claude Code) to further enforce safety controls. There's also an output validation layer that uses good old-fasioned regex to prevent unapproved responses from being sent to the user.
A system prompt is _mostly_ reliable, but models will forget or ignore them from time to time. I've added guardrails on tools (similar to hooks you'd see in Claude Code) to further enforce safety controls. There's also an output validation layer that uses good old-fashioned regex to prevent unapproved responses from being sent to the user.
| Layer | Catches | Cost |
|---|---|---|