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:
Go to any menu (prompts, datasources, or agents).
In the search bar, type the name of the tag (e.g., 'code').
Select the tag.
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:
Due to this issue, it is not possible to call agents tagged with 'Code' from Alita Code Chat.
The error message indicates a problem with the JSON operator in the database query.
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:
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: