ProjectAlita / projectalita.github.io

Langing
GNU Affero General Public License v3.0
1 stars 1 forks source link

[BUG] Browser Toolkit: Unable to Select Any Tools Other Than Google Without Providing API Key #489

Open epamLDadayan opened 1 month ago

epamLDadayan commented 1 month ago

Description: When adding the Browser Toolkit to an agent, it is not possible to select any tools other than Google without providing an API Key and CSE ID. These fields are mandatory regardless of the selected tools, preventing the toolkit from being saved and added.

Steps to Reproduce:

  1. Create an agent.
  2. Add the Browser Toolkit.
  3. Select any tool except Google.
  4. Save and add the toolkit.

Actual Result: The toolkit is not saved because the API Key field is mandatory, even though tools other than Google are selected.

Expected Result: The toolkit should be saved and added, with the API Key and CSE ID fields being mandatory only if the Google tool is selected.

Notes:

Image

HawkQing1 commented 1 month ago

@epamLDadayan This issue has been fixed by Artem @Aspect13. Please verify it on main. Thanks!

epamLDadayan commented 1 month ago

@Aspect13 this is not fixed. Checked on Main env, created a new agent from scratch and added a Browser toolkit. Getting the same notification. See screenshot:

image

HawkQing1 commented 1 month ago

@epamLDadayan, I've fix it. Please verify it on main. Thanks!

epamLDadayan commented 1 month ago

Fixed, tested on Main env, can be included in the release.