michaelfeil / infinity

Infinity is a high-throughput, low-latency REST API for serving vector embeddings, supporting a wide range of text-embedding models and frameworks.
https://michaelfeil.eu/infinity/
MIT License
960 stars 71 forks source link

Fix auth when no token is passed + add auth to /models #287

Closed chiragjn closed 1 week ago

chiragjn commented 1 week ago
  1. Currently setting --api-key but not passing auth header just lets the request through
  2. Protecting /models might be a good idea too - although I am okay if we decide otherwise
chiragjn commented 1 week ago

Ah I was just updating tests, do you want me to do another PR?

S1LV3RJ1NX commented 1 week ago

@michaelfeil , When can we have a release with this fix? From Cognita, team here! Would require auth to be integrated.

michaelfeil commented 1 week ago

Sure! Will need to wait for the CI to complete -> should be put soon