Open
[FEAT-009] 创建 Session #54
TTAdd on  May 7
TT
TTCollaborators
May 7 Create

优先级: Must Have
所属里程碑: M1 - 核心可用
预计工作量: 2 人天

你的功能请求是否与某个问题有关?请描述一下。
用户希望为同一个 Agent 创建多个独立的会话上下文,以便同时处理多个不同的任务或话题。

请描述你希望的解决方案
实现 Session 创建功能:

  1. 在指定 Agent 下创建新的 Session
  2. 创建成功返回 201 状态码和新创建的 Session ID
  3. 新 Session 拥有独立的 memory 文件用于存储对话历史
  4. 确保不同 Session 之间的历史记录完全隔离

验收标准:

依赖:

  • FEAT-001: Token 认证机制
  • FEAT-003: 创建 Agent 功能

请描述你考虑过的其他替代方案

  • 单 Session 设计: 简单但无法满足多任务场景需求

附加背景
Agent 的核心使用模式之一。

likedislike
TTTTCollaborators
May 7 Associated milestone: openEuler-24.03-LTS-SP4-round7
openeuler-ci-botopeneuler-ci-botCollaborators
May 7 Added label: sig/sig-intelligence
openeuler-ci-bot
openeuler-ci-botCollaborators
May 7 Comments:

Welcome To openEuler Community

Hey @ftboy , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: sig-intelligence ,
and any of the maintainers: @fromhsc, @gogoxiaoxiao, @huzhengce, @kaitiandu, @liumiao27, @lyhu, @wqianli ,
and any of the committers: @ftboy, @lipingEmmaSiguyi, @randy1568 .

likedislike