SuperSeller3000/config/packages/messenger.yaml
Simon Kuehn fddfd920f5 feat: add Symfony Messenger pipeline with AI agents and handlers
Messages and handlers for the full AI pipeline:
DraftArticle → Validation → SpecsResearch → PhotoUpload → EbayText →
JsonCoding → PublishToChannel / DeactivateListingMessage / TrackingPush /
UpdateStockOnChannels / OrderReceived.

OllamaClient and OllamaClientInterface provide the base LLM backend.
AI agents (EbayTextAgent, JsonCodingAgent, OllamaVisionAgent,
SpecsResearchAgent) wrap the client with task-specific prompts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 22:43:47 +00:00

51 lines
2 KiB
YAML

framework:
messenger:
failure_transport: failed
transports:
ai_pipeline:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
options:
stream: ai_pipeline
retry_strategy:
max_retries: 3
delay: 2000
multiplier: 2
orders:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
options:
stream: orders
retry_strategy:
max_retries: 5
delay: 1000
multiplier: 2
channel_sync:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
options:
stream: channel_sync
retry_strategy:
max_retries: 5
delay: 2000
multiplier: 2
max_delay: 60000
failed:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
options:
stream: failed
routing:
App\Infrastructure\Messenger\Message\PhotoUploadMessage: ai_pipeline
App\Infrastructure\Messenger\Message\SpecsResearchMessage: ai_pipeline
App\Infrastructure\Messenger\Message\JsonCodingMessage: ai_pipeline
App\Infrastructure\Messenger\Message\ValidationMessage: ai_pipeline
App\Infrastructure\Messenger\Message\DraftArticleMessage: ai_pipeline
App\Infrastructure\Messenger\Message\EbayTextMessage: ai_pipeline
App\Infrastructure\Messenger\Message\PxeInventoryMessage: ai_pipeline
App\Infrastructure\Messenger\Message\PublishToChannelMessage: channel_sync
App\Infrastructure\Messenger\Message\UpdateStockOnChannelsMessage: channel_sync
App\Infrastructure\Messenger\Message\DeactivateListingMessage: channel_sync
App\Infrastructure\Messenger\Message\OrderReceivedMessage: orders
App\Infrastructure\Messenger\Message\TrackingPushMessage: channel_sync