llm-to-agent/docs/agent/model-chat.md
2026-07-16 09:24:26 +08:00

32 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 模型与聊天
首版聚焦可靠的 DeepSeek 聊天体验,模型扩展能力在真实需求出现后逐步提炼。
## DeepSeek Adapter
- 期望实现阶段P1
- 实际开发状态:未开始
- 已确认点:第一版只兼容 DeepSeek API模型调用由 Runtime 管理。
- 待确认点默认模型、API 地址、请求参数、Key 的读取与配置方式。
## 流式聊天
- 期望实现阶段P1
- 实际开发状态:未开始
- 已确认点:回答通过 Runtime 流式传递给客户端,并持久化至当前 Conversation。
- 待确认点:断线处理、中途取消、重连以及部分回复的保存规则。
## 对话上下文
- 期望实现阶段P1
- 实际开发状态:未开始
- 已确认点:聊天加载当前 Conversation 的历史;复杂记忆系统后置。
- 待确认点:系统提示词、上下文窗口裁剪、历史过长时的摘要策略。
## 多模型支持
- 期望实现阶段P4
- 实际开发状态:未开始
- 已确认点:未来模型提供商属于 Adapter 层,不应写死在 Agent Behavior 中。
- 待确认点Provider 接口、模型路由、降级、成本与 Token 统计。