vintasoftware / django-ai-assistant

Integrate AI Assistants with Django to build intelligent applications
https://vintasoftware.github.io/django-ai-assistant/
MIT License
204 stars 12 forks source link

Allow users to configure NinjaAPI #55

Closed fjsj closed 2 months ago

fjsj commented 2 months ago

We should allow users to configure the NinjaAPI whenever they want. I guess an easy way is to support a init_api setting and call it instead of api = NinjaAPI(...).

Since this can change how auth is made, that will also reflect on the client side, we may need to provide a way for devs to set up client interceptors as well.