Repository navigation
Commit 652e9e0
committed
Drop Mistral-specific dead code: plan_offer, Nix, default-off telemetry
Several subsystems were inherited from upstream Mistral Vibe and have
no purpose in the Albert fork:
- plan_offer: a 'Pro plan' upsell calling https://mistral.ai/whoami.
Removed albert_code/cli/plan_offer/, all imports in app.py, the
related test fixtures (tests/cli/plan_offer/), the snapshot test
test_ui_snapshot_whats_new.py, and the plan_offer_gateway parameter
threading through tests/conftest.py and the snapshot base app.
- Nix packaging: flake.nix and flake.lock plus the nix-build matrix
job in .github/workflows/build-and-upload.yml.
- Telemetry: enable_telemetry default flipped from True to False so
no events are sent to datalake.mistral.ai unless explicitly opted in.
The code itself stays; full removal will come in a dedicated pass
along with teleport/ and auth/ which are already dormant via
nuage_enabled=False.
Saves ~55 KB of source plus ~30 lines of CI; 1403/1403 unit tests
still pass.1 parent bdd2bfd commit 652e9e0
16 files changed
Lines changed: 8 additions & 1073 deletions
File tree
- .github/workflows
- albert_code
- cli
- plan_offer
- adapters
- ports
- textual_ui
- core
- tests
- cli
- plan_offer
- adapters
- snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
| |||
219 | 211 | | |
220 | 212 | | |
221 | 213 | | |
222 | | - | |
223 | 214 | | |
224 | 215 | | |
225 | 216 | | |
| |||
261 | 252 | | |
262 | 253 | | |
263 | 254 | | |
264 | | - | |
265 | 255 | | |
266 | 256 | | |
267 | 257 | | |
| |||
1579 | 1569 | | |
1580 | 1570 | | |
1581 | 1571 | | |
1582 | | - | |
1583 | | - | |
1584 | | - | |
1585 | 1572 | | |
1586 | 1573 | | |
1587 | 1574 | | |
| |||
1593 | 1580 | | |
1594 | 1581 | | |
1595 | 1582 | | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
1601 | | - | |
1602 | | - | |
1603 | | - | |
1604 | | - | |
1605 | | - | |
1606 | | - | |
1607 | | - | |
1608 | | - | |
1609 | | - | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
1619 | 1583 | | |
1620 | 1584 | | |
1621 | 1585 | | |
| |||
1772 | 1736 | | |
1773 | 1737 | | |
1774 | 1738 | | |
1775 | | - | |
1776 | 1739 | | |
1777 | 1740 | | |
1778 | 1741 | | |
1779 | 1742 | | |
1780 | 1743 | | |
1781 | 1744 | | |
1782 | | - | |
1783 | 1745 | | |
1784 | 1746 | | |
1785 | 1747 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
0 commit comments