mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-23 18:47:15 +00:00
feat(agent-platform): add bot route dry-run
This commit is contained in:
@@ -385,6 +385,34 @@ const enUS = {
|
||||
disable: 'Disable',
|
||||
enable: 'Enable',
|
||||
disabledBindings: 'Disabled',
|
||||
adapterEventsTitle: 'Events this adapter can receive',
|
||||
adapterEventsDescription:
|
||||
'{{count}} event types are available. Routes are matched in order, and unmatched events are not sent to a processor.',
|
||||
adapterEventsMore: '{{count}} more',
|
||||
advancedEventValues: 'Advanced event values',
|
||||
eventGroup: 'Group',
|
||||
testRoute: 'Test route',
|
||||
dryRunTitle: 'Test event route',
|
||||
dryRunDescription:
|
||||
'Choose an event and provide a sample payload to see which processor the current route setup will use.',
|
||||
dryRunEventType: 'Event type',
|
||||
dryRunPayload: 'Sample payload JSON',
|
||||
dryRunPayloadHint:
|
||||
'Use simple fields such as message_text, chat_type, and chat_id to test conditions.',
|
||||
dryRunPayloadJsonError: 'Enter valid JSON.',
|
||||
dryRunPayloadObjectError: 'Payload must be a JSON object.',
|
||||
dryRunNeedsSavedBot: 'Save the bot before testing routes.',
|
||||
dryRunFailed: 'Route test failed. Try again later.',
|
||||
dryRunAction: 'Run test',
|
||||
dryRunRunning: 'Testing…',
|
||||
dryRunMatched: 'Route matched',
|
||||
dryRunNotMatched: 'No route matched',
|
||||
dryRunTarget: 'Target processor',
|
||||
dryRunNoTarget: 'No target',
|
||||
dryRunMatchedRule: 'Matched rule',
|
||||
dryRunRuleIndex: 'Route {{index}}',
|
||||
dryRunNoRule: 'No matched rule',
|
||||
dryRunDiagnostics: 'Diagnostic steps',
|
||||
eventCustom: 'Custom event',
|
||||
eventWildcard: 'All events',
|
||||
eventNamespaceWildcard: '{{namespace}}.*',
|
||||
@@ -405,6 +433,27 @@ const enUS = {
|
||||
bot_unmuted: 'Bot unmuted',
|
||||
platform_specific: 'Platform-specific event',
|
||||
},
|
||||
eventDescriptions: {
|
||||
all: 'Matches every event received by this adapter.',
|
||||
namespace: 'Matches several concrete events in the same event group.',
|
||||
custom: 'A custom event, or one without a description yet.',
|
||||
message_received: 'A user or group sends a new message to the bot.',
|
||||
message_edited: 'The platform reports that an existing message changed.',
|
||||
message_deleted:
|
||||
'The platform reports that an existing message was deleted.',
|
||||
message_reaction: 'A user adds or removes a reaction on a message.',
|
||||
feedback_received: 'Feedback is received from the platform or user.',
|
||||
friend_request_received: 'Someone requests to add the bot as a friend.',
|
||||
friend_added: 'A friend relationship was created.',
|
||||
group_member_joined: 'A member joins a group where the bot is present.',
|
||||
group_member_left: 'A member leaves a group where the bot is present.',
|
||||
group_member_banned: 'A group member is banned or removed.',
|
||||
bot_invited_to_group: 'The bot is invited to a group.',
|
||||
bot_removed_from_group: 'The bot is removed from a group.',
|
||||
bot_muted: 'The bot is muted in a group.',
|
||||
bot_unmuted: 'The bot is unmuted in a group.',
|
||||
platform_specific: 'An adapter-specific platform event.',
|
||||
},
|
||||
conditions: 'Conditions',
|
||||
conditionsDescription:
|
||||
'All conditions must match to trigger this binding. Leave empty to always trigger.',
|
||||
|
||||
Reference in New Issue
Block a user