Update AMP to AOP

This commit is contained in:
Joao Moura
2025-11-18 08:17:08 -08:00
parent 9fcf55198f
commit 50d6553134
205 changed files with 592 additions and 594 deletions

View File

@@ -6,7 +6,7 @@ The GenerateCrewaiAutomationTool integrates with CrewAI Studio API to generate c
## Environment Variables
Set your CrewAI Personal Access Token (CrewAI AMP > Settings > Account > Personal Access Token):
Set your CrewAI Personal Access Token (CrewAI AOP > Settings > Account > Personal Access Token):
```bash
export CREWAI_PERSONAL_ACCESS_TOKEN="your_personal_access_token_here"
@@ -47,4 +47,4 @@ task = Task(
crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
```
```

View File

@@ -11,7 +11,7 @@ class GenerateCrewaiAutomationToolSchema(BaseModel):
)
organization_id: str | None = Field(
default=None,
description="The identifier for the CrewAI AMP organization. If not specified, a default organization will be used.",
description="The identifier for the CrewAI AOP organization. If not specified, a default organization will be used.",
)
@@ -25,11 +25,11 @@ class GenerateCrewaiAutomationTool(BaseTool):
args_schema: type[BaseModel] = GenerateCrewaiAutomationToolSchema
crewai_enterprise_url: str = Field(
default_factory=lambda: os.getenv("CREWAI_PLUS_URL", "https://app.crewai.com"),
description="The base URL of CrewAI AMP. If not provided, it will be loaded from the environment variable CREWAI_PLUS_URL with default https://app.crewai.com.",
description="The base URL of CrewAI AOP. If not provided, it will be loaded from the environment variable CREWAI_PLUS_URL with default https://app.crewai.com.",
)
personal_access_token: str | None = Field(
default_factory=lambda: os.getenv("CREWAI_PERSONAL_ACCESS_TOKEN"),
description="The user's Personal Access Token to access CrewAI AMP API. If not provided, it will be loaded from the environment variable CREWAI_PERSONAL_ACCESS_TOKEN.",
description="The user's Personal Access Token to access CrewAI AOP API. If not provided, it will be loaded from the environment variable CREWAI_PERSONAL_ACCESS_TOKEN.",
)
env_vars: list[EnvVar] = Field(
default_factory=lambda: [