mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
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:
@@ -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
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user