ProjectAlita / projectalita.github.io

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

[BUG] Unable to Search and Filter by Tag - Error Message Displayed #492

Open epamLDadayan opened 1 month ago

epamLDadayan commented 1 month ago

Description: When attempting to search and filter by tag in any menu (prompts, datasources, or agents), a 400 error occurs with the message: "Get Auto Suggestion Error: (psycopg2.errors.UndefinedFunction) operator does not exist: json @> unkn...". This issue prevents users from filtering results by tag and affects the ability to call agents tagged with 'Code' from Alita Code Chat.

Steps to Reproduce:

  1. Go to any menu (prompts, datasources, or agents).
  2. In the search bar, type the name of the tag (e.g., 'code').
  3. Select the tag.
  4. Check if the results are filtered.

Actual Result: A 400 error occurs with the message: "Get Auto Suggestion Error: (psycopg2.errors.UndefinedFunction) operator does not exist: json @> unkn...". The results are not filtered.

Expected Result: The results should be filtered according to the selected tag without any errors.

Notes: