mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 08:12:39 +00:00
adjust aop to amp docs lang (#4179)
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
* adjust aop to amp docs lang * whoop no print
This commit is contained in:
@@ -6,7 +6,7 @@ The GenerateCrewaiAutomationTool integrates with CrewAI Studio API to generate c
|
||||
|
||||
## Environment Variables
|
||||
|
||||
Set your CrewAI Personal Access Token (CrewAI AOP > Settings > Account > Personal Access Token):
|
||||
Set your CrewAI Personal Access Token (CrewAI AMP > Settings > Account > Personal Access Token):
|
||||
|
||||
```bash
|
||||
export CREWAI_PERSONAL_ACCESS_TOKEN="your_personal_access_token_here"
|
||||
|
||||
@@ -11,7 +11,7 @@ class GenerateCrewaiAutomationToolSchema(BaseModel):
|
||||
)
|
||||
organization_id: str | None = Field(
|
||||
default=None,
|
||||
description="The identifier for the CrewAI AOP organization. If not specified, a default organization will be used.",
|
||||
description="The identifier for the CrewAI AMP 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 AOP. 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 AMP. 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 AOP 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 AMP API. If not provided, it will be loaded from the environment variable CREWAI_PERSONAL_ACCESS_TOKEN.",
|
||||
)
|
||||
env_vars: list[EnvVar] = Field(
|
||||
default_factory=lambda: [
|
||||
|
||||
@@ -3195,13 +3195,13 @@
|
||||
"env_vars": [
|
||||
{
|
||||
"default": null,
|
||||
"description": "Personal Access Token for CrewAI AOP API",
|
||||
"description": "Personal Access Token for CrewAI AMP API",
|
||||
"name": "CREWAI_PERSONAL_ACCESS_TOKEN",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"default": null,
|
||||
"description": "Base URL for CrewAI AOP API",
|
||||
"description": "Base URL for CrewAI AMP API",
|
||||
"name": "CREWAI_PLUS_URL",
|
||||
"required": false
|
||||
}
|
||||
@@ -3247,7 +3247,7 @@
|
||||
},
|
||||
"properties": {
|
||||
"crewai_enterprise_url": {
|
||||
"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.",
|
||||
"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.",
|
||||
"title": "Crewai Enterprise Url",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3260,7 +3260,7 @@
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"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.",
|
||||
"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.",
|
||||
"title": "Personal Access Token"
|
||||
}
|
||||
},
|
||||
@@ -3281,7 +3281,7 @@
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"description": "The identifier for the CrewAI AOP organization. If not specified, a default organization will be used.",
|
||||
"description": "The identifier for the CrewAI AMP organization. If not specified, a default organization will be used.",
|
||||
"title": "Organization Id"
|
||||
},
|
||||
"prompt": {
|
||||
|
||||
Reference in New Issue
Block a user