mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
26 lines
580 B
Python
26 lines
580 B
Python
"""
|
|
LLM 配置模块
|
|
|
|
提供生成配置、预设配置和配置验证功能。
|
|
"""
|
|
|
|
from .generation import (
|
|
LLMGenerationConfig,
|
|
ModelConfigOverride,
|
|
apply_api_specific_mappings,
|
|
create_generation_config_from_kwargs,
|
|
validate_override_params,
|
|
)
|
|
from .presets import CommonOverrides
|
|
from .providers import register_llm_configs
|
|
|
|
__all__ = [
|
|
"CommonOverrides",
|
|
"LLMGenerationConfig",
|
|
"ModelConfigOverride",
|
|
"apply_api_specific_mappings",
|
|
"create_generation_config_from_kwargs",
|
|
"register_llm_configs",
|
|
"validate_override_params",
|
|
]
|