fix builds
All checks were successful
Build and Push Agent Docker Image / build (push) Successful in 55s
Build and Push Web Docker Image / build (push) Successful in 3m35s

This commit is contained in:
2025-12-13 00:18:50 +01:00
parent 17802994a5
commit 4fd346cb20
2 changed files with 10 additions and 26 deletions

View File

@@ -17,8 +17,10 @@ app = FastAPI(title="Cavepedia Agent")
def build_agents(context):
"""Build agents with auth context from frontend."""
"""Build agents with auth context from properties."""
# Get user roles from frontend properties
user_roles = context.get("properties", {}).get("auth0_user_roles", [])
return [
LangGraphAgent(
name="vpi_1000",