feat(llm): 实现 Phase 0 剩余四个模块

实现 ProviderRegistry、HookExecutor、StreamEvents 和 Auto-compaction 模块,并集成到 LlmCycle 中
This commit is contained in:
徐涛
2026-06-02 08:51:42 +08:00
parent 69b6dd942b
commit 32f3edaf19
13 changed files with 1299 additions and 9 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
//! LLM 调用周期 —— 大模型基础调用周期控制。
//!
//! 包含核心数据类型、Provider 抽象、OpenAI 兼容实现以及生命周期引擎。
pub mod compact;
pub mod cycle;
pub mod error;
pub mod hooks;
pub mod provider;
pub mod stream;
pub mod types;