Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 03:37 UTC
| 1 | const GENERIC_SUPPORT_DESCRIPTION = /^Public support knowledge for (.+)\.$/; |
| 2 | |
| 3 | export function getKnowledgeDisplayDescription(description: string): string { |
| 4 | const match = description.match(GENERIC_SUPPORT_DESCRIPTION); |
| 5 | if (!match) return description; |
| 6 | |
| 7 | return `Setup and troubleshooting guidance for ${match[1]} in Composio.`; |
| 8 | } |