OpenBAS-Platform / openbas

Open Breach and Attack Simulation Platform
https://openbas.io
Other
488 stars 46 forks source link

[Ask AI] Greyed-out AI button not usable #1128

Closed Lhorus6 closed 2 months ago

Lhorus6 commented 3 months ago

Description

When I want to use the AI button when creating a media pressure in a scenario, I can't. The button is grayed out, unclickable.

Screenshot 2024-06-20 170508

Environment

OBAS 1.1.0 on testing and filigran (prod)

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Create a scenario
  2. Go on the "Definition" tab
  3. Click on the "+" next to "media pressure"
  4. Try to use the AI -> You can't, the AI button is grayed out (see screenshot in description)
savacano28 commented 3 months ago

There is a condition to disable the AI icon for text lengths less than 10. I noticed that on other pages, there is default text provided. Could I set a default text here as well? Image