feat(server): allow chat session dangling & pin session support (#12849)

fix AI-181
fix AI-179
fix AI-178
fix PD-2682
fix PD-2683
This commit is contained in:
DarkSky
2025-06-19 13:17:01 +08:00
committed by GitHub
parent d80bfac1d2
commit bd04930560
28 changed files with 1422 additions and 394 deletions
@@ -590,6 +590,7 @@ Could you make a new website based on these notes and send back just the html fi
return client.updateSession({
sessionId,
promptName,
// TODO(@yoyoyohamapi): update docId & pinned for chat independence
});
},
});
+4
View File
@@ -8613,6 +8613,10 @@ export function useAFFiNEI18N(): {
* `Copilot session not found.`
*/
["error.COPILOT_SESSION_NOT_FOUND"](): string;
/**
* `Copilot session input is invalid.`
*/
["error.COPILOT_SESSION_INVALID_INPUT"](): string;
/**
* `Copilot session has been deleted.`
*/
@@ -2140,6 +2140,7 @@
"error.WORKSPACE_ID_REQUIRED_FOR_TEAM_SUBSCRIPTION": "A workspace is required to checkout for team subscription.",
"error.WORKSPACE_ID_REQUIRED_TO_UPDATE_TEAM_SUBSCRIPTION": "Workspace id is required to update team subscription.",
"error.COPILOT_SESSION_NOT_FOUND": "Copilot session not found.",
"error.COPILOT_SESSION_INVALID_INPUT": "Copilot session input is invalid.",
"error.COPILOT_SESSION_DELETED": "Copilot session has been deleted.",
"error.NO_COPILOT_PROVIDER_AVAILABLE": "No copilot provider available.",
"error.COPILOT_FAILED_TO_GENERATE_TEXT": "Failed to generate text.",