Skip to content

Commit ad9c008

Browse files
committed
Add new scope @sense
1 parent a9f3f48 commit ad9c008

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

Core/Sources/ChatGPTChatTab/ChatPanel.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,9 @@ private struct Instruction: View {
255255
| --- | --- |
256256
| `@file` | Read the metadata of the editing file |
257257
| `@code` | Read the code and metadata in the editing file |
258-
| `@web` (beta) | Search on Bing or query from a web page |
258+
| `@sense`| Experimental. Read the relevant information of the focused code |
259259
| `@project` | Experimental. Access content of the project |
260+
| `@web` (beta) | Search on Bing or query from a web page |
260261
261262
To use scopes, you can prefix a message with `@code`.
262263

Pro

Submodule Pro updated from 4b8d5f9 to 8a60985

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,13 @@ You can detach the chat panel by simply dragging it away. Once detached, the cha
249249

250250
The chat panel allows for chat scope to temporarily control the context of the conversation for the latest message. To use a scope, simply prefix the message with `@scope`.
251251

252-
| Scope | Description |
253-
| :-----: | ---------------------------------------------------------------------------------------- |
254-
| `@file` | Includes the metadata of the editing document and line annotations in the system prompt. |
255-
| `@code` | Includes the focused/selected code and everything from `@file` in the system prompt. |
256-
| `@web` | Allow the bot to search on Bing or query from a web page |
252+
| Scope | Description |
253+
| :--------: | ---------------------------------------------------------------------------------------- |
254+
| `@file` | Includes the metadata of the editing document and line annotations in the system prompt. |
255+
| `@code` | Includes the focused/selected code and everything from `@file` in the system prompt. |
256+
| `@sense` | Experimental. Read the relevant information of the focused code |
257+
| `@project` | Experimental. Access content of the project |
258+
| `@web` | Allow the bot to search on Bing or query from a web page |
257259

258260
`@code` is on by default, if `Use @code scope by default in chat context.` is on. Otherwise, `@file` will be on by default.
259261

0 commit comments

Comments
 (0)