feat(server): improve session modify (#12928)

fix AI-248
This commit is contained in:
DarkSky
2025-06-25 20:02:21 +08:00
committed by GitHub
parent 697e0bf9ba
commit e32c9a814a
11 changed files with 282 additions and 270 deletions
@@ -347,7 +347,7 @@ test('should be able to update chat session prompt', async t => {
t.truthy(sessionId, 'should create session');
// Update the session
const updatedSessionId = await session.updateSession({
const updatedSessionId = await session.update({
sessionId,
promptName: 'Search With AFFiNE AI',
userId,