-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function request: Adding config files for API keys & model selected by users #75
Comments
@h114mx001 I'd love that as well, it is annoying! I don't know why I never did it, since it should be fast. You can make a new In the DAILA implementation, simply add the two attributes:
On init, store the results of loading the config in a global variable:
Finally, on init of the LiteLLMAIAPI, if it is None for the model or key, use the config data: DAILA/dailalib/api/litellm/litellm_api.py Line 30 in d702c56
|
Lmk if you want to do it. I likely can't for about a week. |
Gotcha. I think I can implement this within this weekend. Will notify you if I have any questions. |
Created pull request on these changes: #76 |
Hi, I am using DAILA and having good time with it. But there is a small thing I don't like is that I have to setup manually the APIs & GPT model manually (which requires a few clicks but I am lazy 🤦)
Is there plan to put config files within:
I suggest that we can have a JSON/YAML file that stores model, API key, and prompt style by my choice (via current dialog is fine). This will be loaded in new sessions. Storing the config file in the same folder with the database file is fine and easier to implement, as sometimes the installation folder of tools requires privilege to write.
Please give me have some suggestions on this and I am open to create this new feature 👍
The text was updated successfully, but these errors were encountered: