* Validates if a request is for public chatflows (embedded chatbots) * @param url - The request URL * @returns boolean - True if it's a public chatflow request
(url: string)
| 105 | * @returns boolean - True if it's a public chatflow request |
| 106 | */ |
| 107 | function isPublicChatflowRequest(url: string): boolean { |
| 108 | return extractSlugFromUrl(url) !== null |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Checks if the request is for the TTS generate endpoint. |
no test coverage detected