forked from cleveragents/cleveragents-core
23 lines
1009 B
Gherkin
23 lines
1009 B
Gherkin
Feature: Message Routing
|
|
As a user of CleverAgents
|
|
I want messages to be routed between agents
|
|
So that complex workflows can be implemented
|
|
|
|
Scenario: Route a message through multiple agents
|
|
Given a network with multiple connected agents
|
|
When I send a message to the network
|
|
Then the message should be routed through the appropriate agents
|
|
And I should receive the final processed result
|
|
|
|
Scenario: Conditional routing based on message content
|
|
Given a network with conditional routing rules
|
|
When I send a message that matches a specific condition
|
|
Then the message should be routed to the appropriate agent
|
|
And when I send a message that doesn't match, it should be routed differently
|
|
|
|
Scenario: Transform messages during routing
|
|
Given a network with message transformation rules
|
|
When I send a message through the network
|
|
Then the message should be transformed according to the rules
|
|
And the transformed message should be processed by the next agent
|