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-30 21:16:19 +08:00
2024-04-02 13:51:48 +08:00
2025-12-07 18:50:37 +08:00
2025-12-23 17:29:07 +08:00
2025-12-19 14:16:59 +08:00
2025-12-10 15:10:54 +08:00
2025-07-05 15:23:08 +08:00
2025-02-09 01:28:13 +08:00
2025-12-10 15:53:18 +08:00
2025-02-09 01:28:13 +08:00
2025-02-09 01:28:13 +08:00
2024-01-11 10:29:31 +08:00
2024-06-01 21:45:20 +08:00
2025-07-18 21:08:51 +08:00
2025-07-18 21:00:23 +08:00
2025-07-04 19:17:45 +08:00
2023-12-12 23:15:51 +08:00
2024-06-01 21:45:20 +08:00
2024-02-16 15:40:13 +08:00
2025-06-28 23:39:15 +08:00
2025-06-20 18:06:33 +08:00