llama-stack-mirror/tests/unit/providers
Sergey Yedrikov bc6a4cb7ce fix: SQLiteVecIndex.create(..., bank_id="test_bank.123") - bank_id with a dot - leads to sqlite3.OperationalError (#2770)
Resolves https://github.com/meta-llama/llama-stack/issues/2770.
It replaces characters in SQLite table names that are not alphanumeric or underscores with underscores and quotes the table names with square brackets in SQL statements.

I added a ".123" suffix to the bank_id on the following line
```
    index = await SQLiteVecIndex.create(dimension=embedding_dimension, db_path=db_path, bank_id="test_bank.123")
```
in tests/unit/providers/vector_io/test_sqlite_vec.py, which, without the fix in place, demonstrates the issue.
2025-07-16 09:05:37 -04:00
..
agent chore: default to pytest asyncio-mode=auto (#2730) 2025-07-11 13:00:24 -07:00
agents chore: default to pytest asyncio-mode=auto (#2730) 2025-07-11 13:00:24 -07:00
inference chore: block network access from unit tests (#2732) 2025-07-12 16:53:54 -07:00
nvidia chore: remove nested imports (#2515) 2025-06-26 08:01:05 +05:30
utils feat: add infrastructure to allow inference model discovery (#2710) 2025-07-14 11:38:53 -07:00
vector_io fix: SQLiteVecIndex.create(..., bank_id="test_bank.123") - bank_id with a dot - leads to sqlite3.OperationalError (#2770) 2025-07-16 09:05:37 -04:00
test_configs.py feat(api): don't return a payload on file delete (#1640) 2025-03-25 17:12:36 -07:00