feat(ai): AiProvider trait + Claude SSE 流式实现 + DTO 定义

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
iven
2026-04-25 13:54:49 +08:00
parent af338e0a70
commit 06f3d08c61
4 changed files with 358 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
pub mod dto;
pub mod entity;
pub mod error;
pub mod provider;
pub use error::{AiError, AiResult};