Commit ddd747d
Fix ModelConfig attribute access in vectorstore factory
- Handle both dict (for tests with mocked config) and ModelConfig (actual config)
- Fixes AttributeError: 'ModelConfig' object has no attribute 'get'
- Resolves test failures in test_vectorstore_factory_integration.py
Co-authored-by: Andrew Brookins <[email protected]>1 parent b943664 commit ddd747d
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
50 | 58 | | |
51 | 59 | | |
52 | 60 | | |
| |||
0 commit comments