feat(server): paginated list endpoint (#13026)

fix AI-323
This commit is contained in:
DarkSky
2025-07-08 17:11:58 +08:00
committed by GitHub
parent 8c49a45162
commit 6dac94d90a
36 changed files with 1136 additions and 702 deletions
@@ -98,11 +98,14 @@ export const Component = () => {
await createSession({ pinned });
} else {
await client.updateSession({
sessionId: currentSession.id,
sessionId: currentSession.sessionId,
pinned,
});
// retrieve the latest session and update the state
const session = await client.getSession(workspaceId, currentSession.id);
const session = await client.getSession(
workspaceId,
currentSession.sessionId
);
setCurrentSession(session);
}
} finally {