Guards against drift between the backend _ANTHROPIC_4_7_SAMPLING_REMOVED regex and the frontend ANTHROPIC_4_7_SAMPLING_REMOVED_REGEX added in the previous commit. If a future patch widens one without the other the panel will either silently strip a knob the user moved or 400 on a knob the UI should have hidden — both bad UX. Test pins the canonical 4.7 id shapes (opus/sonnet/haiku) including dated snapshots, and the non-4.7 ids that must NOT match (4-6, 4-5, 4-71, future 5, gpt-4o, etc.). Sampling-params suite now 60 passing (previously 59). |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||