-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Labels
docsImprovements or additions to documentationImprovements or additions to documentation
Description
Description
The AgentDetail class supports environment variable configuration through the variables parameter, but this functionality is undocumented. Developers have no way of discovering this feature exists, understanding what it does, or learning how to use it properly.
Current State
The only way to discover this functionality is by reading source code from existing agents. For example, the github-issue-creator agent demonstrates usage:
detail=AgentDetail(
interaction_mode="multi-turn",
framework="BeeAI",
variables=[
EnvVar(name="GITHUB_REPOSITORY", description="The repository to create the issue in", required=True),
EnvVar(name="GITHUB_PAT", description="The GitHub Personal Access Token to use for the API", required=True),
EnvVar(name="DOCS_URL", description="The URL of the documentation to use for the API", required=False),
EnvVar(name="TEMPLATE_BUG_URL", description="The URL of the bug template to use for the API", required=False),
EnvVar(name="TEMPLATE_FEATURE_URL", description="The URL of the feature template to use for the API", required=False),
],
)Requested documentation
Documentation should cover:
- Purpose - What does declaring environment variables in
AgentDetailaccomplish? - Behavior - How does Agent Stack use this information (validation, UI display, etc.)?
- Usage - Basic example of configuring environment variables
- Parameters - Full specification of the
EnvVarclass (name, description, required fields) - Runtime behavior - What happens when required variables are missing?
dosubot
Metadata
Metadata
Assignees
Labels
docsImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
Dev backlog