Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rerevert: [Agent Configurations] Allow fetching multiple agent configurations by sIds #7578

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

philipperolet
Copy link
Contributor

@philipperolet philipperolet commented Sep 20, 2024

Description

Fixes the issue of #7570
(thus Reverts #7576 )

Added the missing !

Risk

na... but still, will pay attention

Deploy

front

return AgentConfiguration.findAll({
where: {
workspaceId: owner.id,
...(agentPrefix ? { name: { [Op.iLike]: `${agentPrefix}%` } } : {}),
sId: agentsGetView.agentId,
sId: agentsGetView.agentIds.filter((id) => !isGlobalAgentId(id)),
Copy link
Contributor Author

@philipperolet philipperolet Sep 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the forgotten ! was here. rest of the PR is the same apart from renaming a function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant