(s: str, substrs: List[str])
| 3160 | """This method is no longer used in the new implementation.""" |
| 3161 | |
| 3162 | def find_first(s: str, substrs: List[str]): |
| 3163 | for i, substr in enumerate(substrs): |
| 3164 | pos = s.find(substr) |
| 3165 | if pos != -1: |
| 3166 | return pos, i |
| 3167 | return None, None |
| 3168 | |
| 3169 | split_text: List[Tuple[Literal["text", "image_url"], str]] = [] |
| 3170 | remaining = text |
nothing calls this directly
no outgoing calls
no test coverage detected