Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[front] - fix(conversations): render conversations with archived agen…
…ts (#8900) * [front/lib/api/assistant] - fix: ensure only active or latest agent versions are fetched - Modify fetchWorkspaceAgentConfigurationsWithoutActions to return either active versions if they exist, or otherwise the latest versions - Implement reduction logic to group agents by sId and select the correct version to return based on status and existence in the accumulator * [front/lib/api/assistant] - refactor: optimize fetching agent configurations - Implement a more efficient SQL query to directly fetch the necessary agent configurations - Remove the previous post-processing logic in favor of database-level aggregation and sorting * [front/lib/api/assistant] - refactor: optimize agent configurations query - Include option to fetch all versions of agent configurations - Modify query to retrieve only latest versions of agent configurations using Sequelize ORM instead of raw query
- Loading branch information