(
promptText: string,
hasImage: boolean,
)
| 909 | ] |
| 910 | |
| 911 | export function findCachedResponse( |
| 912 | promptText: string, |
| 913 | hasImage: boolean, |
| 914 | ): CachedResponse | undefined { |
| 915 | return CACHED_EXAMPLE_RESPONSES.find( |
| 916 | (c) => |
| 917 | c.promptText === promptText && |
| 918 | c.hasImage === hasImage && |
| 919 | c.xml !== "", |
| 920 | ) |
| 921 | } |
no outgoing calls
no test coverage detected