fix(config): Include experiments in the generated example config

This commit is contained in:
Henry-Hiles authored and Ellis Git committed 2026-11-14 13:03:16 +00:00
1 parent d4c6decdd6
commit bfb611d9e4
3 files changed
+125 -10

No files matched your search

+6 -1
View File
@@ -1,6 +1,5 @@
#![allow(clippy::doc_link_with_quotes)]
pub mod check;
pub mod experiments;
pub mod manager;
pub mod proxy;
@@ -3423,3 +3422,9 @@ fn default_profile_key_map() -> HashMap<String, String> {
fn default_unauthenticated_request_ratelimit<K: Hash + Eq + Clone>() -> PerMinuteRatelimiter<K> {
PerMinuteRatelimiter::new(Quota::per_minute(30.try_into().unwrap()))
}
// NOTE: This must be declared *after* every config struct in this file. The
// example config generator writes sections in macro expansion order, and the
// `global` section truncates the file, so declaring this module any earlier
// causes its sections to be wiped from the generated example config.
pub mod experiments;