feat: add plugin framework with UI contributions and suite selection
- Implemented PluginBlocks component to render various plugin UI elements. - Created SuitePicker for selecting test suites and questions. - Introduced usePluginUI hook for managing plugin UI state and manifest. - Developed DocsPage for comprehensive plugin framework documentation. - Added PluginPage to render pages declared by plugins based on the current path.
This commit is contained in:
@@ -55,6 +55,22 @@ from settings import ( # type: ignore[import-not-found]
|
||||
save_settings,
|
||||
set_local_model_paths,
|
||||
)
|
||||
from suites import ( # type: ignore[import-not-found]
|
||||
ReadOnlySuiteError,
|
||||
Suite,
|
||||
SuiteError,
|
||||
create_suite,
|
||||
delete_suite,
|
||||
duplicate_suite,
|
||||
find_prompts,
|
||||
get_suite,
|
||||
list_suites,
|
||||
load_prompts,
|
||||
load_suite_prompts,
|
||||
save_suite_tests,
|
||||
split_question_id,
|
||||
update_suite,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"CORE_DIR",
|
||||
@@ -83,6 +99,20 @@ __all__ = [
|
||||
"list_provider_names",
|
||||
"load_settings",
|
||||
"load_test_prompts",
|
||||
"ReadOnlySuiteError",
|
||||
"Suite",
|
||||
"SuiteError",
|
||||
"create_suite",
|
||||
"delete_suite",
|
||||
"duplicate_suite",
|
||||
"find_prompts",
|
||||
"get_suite",
|
||||
"list_suites",
|
||||
"load_prompts",
|
||||
"load_suite_prompts",
|
||||
"save_suite_tests",
|
||||
"split_question_id",
|
||||
"update_suite",
|
||||
"run_suite",
|
||||
"sanitize_model_name",
|
||||
"save_settings",
|
||||
|
||||
Reference in New Issue
Block a user