mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
docs: parity for all translations
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 Enterprise > 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"
|
||||
|
||||
@@ -12,7 +12,7 @@ class GenerateCrewaiAutomationToolSchema(BaseModel):
|
||||
)
|
||||
organization_id: Optional[str] = Field(
|
||||
default=None,
|
||||
description="The identifier for the CrewAI Enterprise 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.",
|
||||
)
|
||||
|
||||
|
||||
@@ -26,21 +26,21 @@ 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 Enterprise. 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: Optional[str] = Field(
|
||||
default_factory=lambda: os.getenv("CREWAI_PERSONAL_ACCESS_TOKEN"),
|
||||
description="The user's Personal Access Token to access CrewAI Enterprise 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] = [
|
||||
EnvVar(
|
||||
name="CREWAI_PERSONAL_ACCESS_TOKEN",
|
||||
description="Personal Access Token for CrewAI Enterprise API",
|
||||
description="Personal Access Token for CrewAI AMP API",
|
||||
required=True,
|
||||
),
|
||||
EnvVar(
|
||||
name="CREWAI_PLUS_URL",
|
||||
description="Base URL for CrewAI Enterprise API",
|
||||
description="Base URL for CrewAI AMP API",
|
||||
required=False,
|
||||
),
|
||||
]
|
||||
|
||||
@@ -3195,13 +3195,13 @@
|
||||
"env_vars": [
|
||||
{
|
||||
"default": null,
|
||||
"description": "Personal Access Token for CrewAI Enterprise API",
|
||||
"description": "Personal Access Token for CrewAI AMP API",
|
||||
"name": "CREWAI_PERSONAL_ACCESS_TOKEN",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"default": null,
|
||||
"description": "Base URL for CrewAI Enterprise 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 Enterprise. 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 Enterprise 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 Enterprise 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