mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-01 23:32:39 +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,
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user