Advertisement

← octto

e2e/scripts/allow-other.json

683 bytes Download file
[
  {
    "tool": "start_session",
    "args": {
      "title": "e2e allowOther",
      "questions": [
        {
          "type": "pick_one",
          "config": {
            "question": "Which datastore should we use?",
            "options": [{ "id": "redis", "label": "Redis" }, { "id": "postgres", "label": "Postgres" }],
            "allowOther": true
          }
        }
      ]
    }
  },
  {
    "tool": "get_next_answer",
    "args": {
      "session_id": { "$extract": "ses_[a-z0-9]+" },
      "block": true,
      "timeout": 120000
    }
  },
  {
    "tool": "end_session",
    "args": { "session_id": { "$extract": "ses_[a-z0-9]+" } }
  },
  { "text": "E2E_DONE" }
]