feat: Add prompt module collections and contributing.md (#40)

This commit is contained in:
Ahmed Allam
2025-10-10 02:41:42 -07:00
committed by GitHub
parent 522d2c8948
commit 7de9c4efe1
19 changed files with 217 additions and 18 deletions

View File

@@ -199,11 +199,11 @@ def create_agent(
if prompt_modules:
module_list = [m.strip() for m in prompt_modules.split(",") if m.strip()]
if len(module_list) > 3:
if len(module_list) > 5:
return {
"success": False,
"error": (
"Cannot specify more than 3 prompt modules for an agent "
"Cannot specify more than 5 prompt modules for an agent "
"(use comma-separated format)"
),
"agent_id": None,