(vector1: List[float], vector2: List[float])
| 575 | self._save_cached(normalized_texts[index], embedding) |
| 576 | except Exception as exc: |
| 577 | print(f"Batch embedding error ({self.provider}:{self.model}): {exc}") |
| 578 | if _looks_like_auth_error(exc): |
| 579 | print( |
| 580 | "Embedding auth failed. Check OPENAI_API_KEY / DASHSCOPE_API_KEY " |
| 581 | "and verify the key is valid for the configured DashScope endpoint." |
no test coverage detected