chenchun
bd3a9a5ce8
feat: 新增功能
- ChatManager:
- 引入 System.Text.Json,用于将 agent thread 序列化与反序列化(示例:thread.Serialize(...) -> JsonSerializer.Deserialize -> agent.DeserializeThread)。
- 增加示例:创建 OpenAIClient、初始化 agent、运行流式响应并处理更新。
- 小幅格式和空行调整。
- AiChatService:
- 为 Agent 发送接口 PostAgentSendAsync 增加注释与路由标记 HttpPost("ai-chat/agent/send")。
注意:提交中出现了硬编码的 API Key,请尽快改为从配置或机密管理中读取以防泄露。
2025-12-23 17:29:07 +08:00
..
2025-10-14 23:02:44 +08:00
2025-12-19 14:16:59 +08:00
2025-06-25 17:12:09 +08:00
2025-12-23 17:08:42 +08:00
2025-11-27 19:01:16 +08:00
2025-10-20 10:18:24 +08:00
2025-11-07 21:31:18 +08:00
2025-12-23 17:29:07 +08:00
2025-11-14 23:53:29 +08:00
2025-10-12 20:07:58 +08:00
2025-12-19 12:58:57 +08:00
2025-11-27 19:01:16 +08:00
2025-11-27 19:01:16 +08:00