Commit b535695
authored
feat: fully switch to external provider module method (#37)
# What does this PR do?
delete `providers.d` and depend on `module` for build and run. also
delete `external_provider_dir` from both build and run yaml.
this forces `build.py` to only install
uv pip install llama_stack_provider_lmeval==0.2.4
uv pip install llama_stack_provider_trustyai_fms==0.2.2
rather than also grabbing dependencies like `kubernetes`
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- Refactor
- Consolidated provider configuration into the main distribution;
removed use of an external providers directory and no longer populating
a separate providers folder in builds.
- Chores
- Bundled safety provider pinned to 0.2.2 and evaluation provider pinned
to 0.2.4 in the distribution runtime.
- Removals
- Removed standalone adapter registrations for the Trustyai LMEval and
Trustyai FMS providers; provided via bundled modules.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->File tree
6 files changed
+4
-20
lines changed- distribution
- providers.d/remote
- eval
- safety
6 files changed
+4
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
180 | | - | |
| |||
0 commit comments