绝尘
a3835e2acb
重构: 拆openai_compat协议适配(strategy核心库·对齐anthropic)
- 新建 df-ai/openai_helpers.rs(231行): apply_openai_sse纯函数 + 13 struct(OpenAi*字段pub(crate))
- openai_compat.rs 809→597: 删抽离+use引入, Provider impl保留(impl块约束: new/convert_request/parse_tool_calls/LlmProvider trait)
- lib.rs: pub mod openai_helpers
主代兜底: cargo check --workspace 0 + test df-ai 119
strategy: 核心库自底向上, impl块约束(Provider方法保留只抽纯函数/类型), 对齐anthropic_helpers模式
git add指定(df-ai/*)
协议适配双拆完整: anthropic_compat + openai_compat 均helpers抽离
2026-06-19 04:36:42 +08:00
..
2026-06-19 04:36:42 +08:00
2026-06-18 22:57:19 +08:00
2026-06-19 04:11:47 +08:00
2026-06-19 00:10:14 +08:00
2026-06-18 22:57:19 +08:00
2026-06-19 00:10:14 +08:00
2026-06-19 01:34:59 +08:00
2026-06-17 03:36:38 +08:00
2026-06-19 00:10:14 +08:00