| 1 | export const WEB_SEARCH_TOOL_NAME = "tavily_search_results_json"; |
| 2 | export const LEGACY_WEB_SEARCH_TOOL_NAME = "webSearch"; |
| 3 | export const PRESENTATION_IMAGE_SEARCH_TOOL_NAME = "search_presentation_images"; |
| 4 | |
| 5 | export function isWebSearchToolName(toolName: string) { |
| 6 | return ( |
| 7 | toolName === WEB_SEARCH_TOOL_NAME || |
| 8 | toolName === LEGACY_WEB_SEARCH_TOOL_NAME |
| 9 | ); |
| 10 | } |
| 11 | |
| 12 | export function isPresentationImageSearchToolName(toolName: string): boolean { |
| 13 | return toolName === PRESENTATION_IMAGE_SEARCH_TOOL_NAME; |
| 14 | } |
| 15 |