mirror of
https://github.com/docmost/docmost.git
synced 2026-07-04 10:24:29 +10:00
d11e1e0a23
Some embedding models don't accept a `dimensions` parameter. This adds an optional env var that controls whether the dimension is sent to the model API, while always using it for pgvector indexing. Preset models have this handled automatically; the env var allows explicit override for custom models.