mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08: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.