Merge pull request #772 from HyeongBaeYu/master

New line of commander agent description

Andrew Cantino 10 lat temu
rodzic
commit
2a4b8f9f94
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/models/agents/commander_agent.rb

+ 1 - 1
app/models/agents/commander_agent.rb

@@ -21,7 +21,7 @@ module Agents
21 21
 
22 22
       Here's a tip: you can use Liquid templating to dynamically determine the action type.  For example:
23 23
 
24
-      - To create a CommanderAgent that receives an event from a WeatherAgent every morning to kick an agent flow that is only useful in a nice weather, try this: `{% if conditions contains 'Sunny' or conditions contains 'Cloudy' %}run{% endif %}`
24
+      - To create a CommanderAgent that receives an event from a WeatherAgent every morning to kick an agent flow that is only useful in a nice weather, try this: `{% if conditions contains 'Sunny' or conditions contains 'Cloudy' %}` `run{% endif %}`
25 25
 
26 26
       - Likewise, if you have a scheduled agent flow specially crafted for rainy days, try this: `{% if conditions contains 'Rain' %}enable{% else %}disabled{% endif %}`
27 27