Merge branch 'main' into add-llama-guard-4-model

This commit is contained in:
raghotham 2025-07-03 10:52:01 -07:00 committed by GitHub
commit bae3c766bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
72 changed files with 990 additions and 337 deletions

View file

@ -53,7 +53,7 @@ class AgentPersistence:
identifier=name, # should this be qualified in any way?
)
if not is_action_allowed(self.policy, "create", session_info, user):
raise AccessDeniedError()
raise AccessDeniedError("create", session_info, user)
await self.kvstore.set(
key=f"session:{self.agent_id}:{session_id}",