generated from teamhide/fastapi-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 11
store and load model connection config #119
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adds the crud operations for model configs
wip: changes to the dashboard to test the ui adapter changes
kaushik-himself
commented
Jun 2, 2025
ui/dashboard.py
Outdated
| for i, report_path in enumerate(selected_profile['past_runs']): | ||
| try: | ||
| # Load report data | ||
| print("Rport Path", report_path) |
Contributor
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove print
the provider name was incorrectly set to the model name after the config changes. updates this to take the provider_name/model_name as the provider param for litellm. fixes bug: when the llm response is `None`, a few attacks are failing due to unsafe handling of `None` value. removes excessive or repetitive logging
to fix build error on github actions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
when the user sets up the config, the config is saved to a local filesystem instance of tinydb.
this PR creates the following:
support for cli is now deprecated except to start the dashboard.
compliant-llm testcommand has not been tested and its associated test has been disabled.README and docs have been updated. they instruct the user to use the dashboard to configure models and run tests.
Screenshots/Results
Reference Links
Checklist
This PR includes the following (tick all that apply):