You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/content-ai/capabilities/text-generation/manage-responses.mdx
+19-14
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ meta:
8
8
9
9
import { CodeDemo } from'@/components/CodeDemo'
10
10
11
-
The AI extension stores the current state in it’s extension storage under `editor.storage.ai`. This storage is used to keep track of the current state of the AI response, as well as any past responses.
11
+
The AI extension stores the current state in it’s extension storage under `editor.storage.ai || editor.storage.aiAdvanced` (depending on if you are using the extension-ai or extension-ai-advanced extension). This storage is used to keep track of the current state of the AI response, as well as any past responses.
12
12
13
13
<CodeDemoisPropath="/Extensions/AiStorage" />
14
14
@@ -23,20 +23,22 @@ The AI extension stores the current state in it’s extension storage under `edi
23
23
You can use this storage to read out the current state of AI responses like:
This command is meant to be ran when the user wants the to retry the AI response, it will use all the same options as the previous AI text operation and add to the `editor.storage.ai.pastResponses` array
95
+
This command is meant to be ran when the user wants the to retry the AI response, it will use all the same options as the previous AI text operation and add to the `(editor.storage.ai || editor.storage.aiAdvanced).pastResponses` array
This command is meant to be ran when the user has rejected the AI response, it will reset the extension’s state to the initial idle state and clear all `editor.storage.ai.pastResponses`
120
+
This command is meant to be ran when the user has rejected the AI response, it will reset the extension’s state to the initial idle state and clear all `(editor.storage.ai || editor.storage.aiAdvanced).pastResponses`
0 commit comments