Skip to content

fix(list_users_and_teams): ignore null section entries#272

Open
Gujiassh wants to merge 1 commit intomondaycom:masterfrom
Gujiassh:fix/list-users-and-teams-null-sections
Open

fix(list_users_and_teams): ignore null section entries#272
Gujiassh wants to merge 1 commit intomondaycom:masterfrom
Gujiassh:fix/list-users-and-teams-null-sections

Conversation

@Gujiassh
Copy link

Summary

  • ignore all-null users and teams arrays before rendering list_users_and_teams output sections
  • keep the formatter on the standard empty-result message instead of emitting empty section headers
  • add regression coverage for all-null users and all-null teams responses

Testing

  • npx jest src/core/tools/platform-api-tools/list-users-and-teams-tool/list-users-and-teams-tool.test.ts
  • npx eslint src/core/tools/platform-api-tools/list-users-and-teams-tool/list-users-and-teams.utils.ts src/core/tools/platform-api-tools/list-users-and-teams-tool/list-users-and-teams-tool.test.ts
  • npm run build

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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