Union type representing all event sources that trigger AI agent requests.
This type enumerates the origin points where actual AI requests are initiated
throughout the AutoBE backend generation pipeline. Each event source
represents a specific operation that requires AI processing, such as writing
code, reviewing schemas, correcting errors, or generating specifications.
The event sources are organized by agent and operation type:
facade: The initial orchestration layer that coordinates all agents
analyze: Scenario planning, requirement writing, and review operations
prisma: Database component design, schema generation, review, and
correction
interface: API authorization, grouping, endpoint design, operation
definition, schema specification, reviews, and complementary generation
test: Test scenario planning, test code writing, and error correction
realize: Implementation code writing, corrections, and authorization
logic
These event sources are specifically used in AutoBeVendorRequestEvent
and AutoBeVendorResponseEvent to track which agent operation triggered
each AI interaction. This enables precise attribution of AI usage, token
consumption tracking, and performance monitoring for each distinct operation
in the backend generation workflow.
Union type representing all event sources that trigger AI agent requests.
This type enumerates the origin points where actual AI requests are initiated throughout the AutoBE backend generation pipeline. Each event source represents a specific operation that requires AI processing, such as writing code, reviewing schemas, correcting errors, or generating specifications.
The event sources are organized by agent and operation type:
These event sources are specifically used in AutoBeVendorRequestEvent and AutoBeVendorResponseEvent to track which agent operation triggered each AI interaction. This enables precise attribution of AI usage, token consumption tracking, and performance monitoring for each distinct operation in the backend generation workflow.