2026-04-05 20:23:16 +08:00
|
|
|
mod association_sync;
|
|
|
|
|
mod config;
|
|
|
|
|
mod logic;
|
2026-04-12 10:14:29 +08:00
|
|
|
mod strategy;
|
2026-04-05 20:23:16 +08:00
|
|
|
mod transport;
|
|
|
|
|
|
|
|
|
|
pub use association_sync::{
|
|
|
|
|
sync_provider_model_whitelist_associations, ModelFetchAssociationStore,
|
|
|
|
|
};
|
|
|
|
|
pub use config::{
|
|
|
|
|
model_fetch_interval_minutes, model_fetch_startup_delay_seconds, model_fetch_startup_enabled,
|
|
|
|
|
};
|
|
|
|
|
pub use logic::{
|
|
|
|
|
aggregate_models_for_cache, apply_model_filters, build_models_fetch_url,
|
2026-05-26 17:45:06 +08:00
|
|
|
deepseek_anthropic_models_fetch_uses_openai_auth, endpoint_supports_rust_models_fetch,
|
|
|
|
|
extract_error_message, json_string_list, merge_upstream_metadata, parse_models_response,
|
|
|
|
|
parse_models_response_page, parse_windsurf_model_configs_response, preset_models_for_provider,
|
2026-05-18 20:04:49 +08:00
|
|
|
provider_type_uses_preset_models, select_models_fetch_endpoint,
|
2026-04-12 10:14:29 +08:00
|
|
|
selected_models_fetch_endpoints, ModelFetchRunSummary, ModelsFetchPage, ModelsFetchSuccess,
|
|
|
|
|
};
|
2026-05-05 11:23:54 +08:00
|
|
|
pub use strategy::{
|
|
|
|
|
fetch_models_from_transports, ModelFetchStrategy, ModelFetchStrategyKind, ModelsFetchOutcome,
|
|
|
|
|
SelectedModelFetchStrategy,
|
|
|
|
|
};
|
2026-04-12 10:14:29 +08:00
|
|
|
pub use transport::{
|
2026-06-03 21:45:37 +08:00
|
|
|
build_antigravity_fetch_available_models_plan, build_antigravity_load_code_assist_plan,
|
|
|
|
|
build_gemini_cli_load_code_assist_plan, build_kiro_list_available_models_plan,
|
|
|
|
|
build_models_fetch_execution_plan, build_standard_models_fetch_execution_plan,
|
|
|
|
|
build_vertex_models_fetch_execution_plan, build_windsurf_model_configs_execution_plan,
|
|
|
|
|
ModelFetchTransportRuntime,
|
2026-04-05 20:23:16 +08:00
|
|
|
};
|