596a624716
Make isinstance checks numpy-safe by using `not isinstance(dict)` instead of `isinstance(list)`, add type hints to existing_embeddings parameter, and add regression test for the infer=True UPDATE path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>