Skip to content

Commit 85e6cf8

Browse files
committed
Adjust chat panel
1 parent b088572 commit 85e6cf8

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

Core/Sources/ChatGPTChatTab/ChatPanel.swift

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct ChatPanelMessages: View {
5858

5959
ChatHistory(chat: chat)
6060
.listItemTint(.clear)
61-
61+
6262
WithViewStore(chat, observe: \.isReceivingMessage) { viewStore in
6363
if viewStore.state {
6464
Spacer(minLength: 12)
@@ -231,35 +231,35 @@ private struct Instruction: View {
231231
Group {
232232
Markdown(
233233
"""
234-
You can use scopes to give the bot extra abilities.
234+
You can use plugins to perform various tasks.
235235
236-
| Scope Name | Abilities |
236+
| Plugin Name | Description |
237237
| --- | --- |
238-
| `@file` | Read the metadata of the editing file |
239-
| `@code` | Read the code and metadata in the editing file |
240-
| `@web` (beta) | Search on Bing or query from a web page |
241-
| `@project` | Experimental. Access content of the project |
242-
243-
To use scopes, you can prefix a message with `@code`.
238+
| `/run` | Runs a command under the project root |
239+
| `/math` | Solves a math problem in natural language |
240+
| `/search` | Searches on Bing and summarizes the results |
241+
| `/shortcut(name)` | Runs a shortcut from the Shortcuts.app, with the previous message as input |
242+
| `/shortcutInput(name)` | Runs a shortcut and uses its result as a new message |
244243
245-
You can use shorthand to represent a scope, such as `@c`, and enable multiple scopes with `@c+web`.
244+
To use plugins, you can prefix a message with `/pluginName`.
246245
"""
247246
)
248247
.modifier(InstructionModifier())
249248

250249
Markdown(
251250
"""
252-
You can use plugins to perform various tasks.
251+
You can use scopes to give the bot extra abilities.
253252
254-
| Plugin Name | Description |
253+
| Scope Name | Abilities |
255254
| --- | --- |
256-
| `/run` | Runs a command under the project root |
257-
| `/math` | Solves a math problem in natural language |
258-
| `/search` | Searches on Bing and summarizes the results |
259-
| `/shortcut(name)` | Runs a shortcut from the Shortcuts.app, with the previous message as input |
260-
| `/shortcutInput(name)` | Runs a shortcut and uses its result as a new message |
255+
| `@file` | Read the metadata of the editing file |
256+
| `@code` | Read the code and metadata in the editing file |
257+
| `@web` (beta) | Search on Bing or query from a web page |
258+
| `@project` | Experimental. Access content of the project |
261259
262-
To use plugins, you can prefix a message with `/pluginName`.
260+
To use scopes, you can prefix a message with `@code`.
261+
262+
You can use shorthand to represent a scope, such as `@c`, and enable multiple scopes with `@c+web`.
263263
"""
264264
)
265265
.modifier(InstructionModifier())
@@ -537,7 +537,7 @@ struct ChatPanelInputArea: View {
537537
let availableFeatures = plugins + [
538538
"/exit",
539539
"@code",
540-
"@file",
540+
"@project",
541541
"@web",
542542
]
543543

0 commit comments

Comments
 (0)