Skip to content

Commit c01a3b2

Browse files
committed
Update edit format instructions, refine model provider warning, and reduce settings item gap spacing
1 parent a1da5a6 commit c01a3b2

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎apps/editor/src/constants/edit-format-instructions.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ Updated the greeting text.
6464
\`\`\`diff
6565
--- a/src/examples/hello.py
6666
+++ b/src/examples/hello.py
67-
@@ -1,4 +1,4 @@
67+
@@ -1,5 +1,5 @@
68+
# A simple greeting script
6869
-GREETING = "Welcome everyone!"
6970
+GREETING = "Hello, World!"
7071

‎apps/editor/src/views/settings/frontend/Home/Home.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,9 +419,7 @@ export const Home: React.FC<Props> = (props) => {
419419
on your machine.
420420
</Notice>
421421
{props.providers.length == 0 && (
422-
<Notice type="warning">
423-
Add a model provider to use API tools.
424-
</Notice>
422+
<Notice type="warning">Missing model provider.</Notice>
425423
)}
426424
<Group>
427425
<ModelProvidersSection

‎packages/ui/src/components/editor/settings/Item/Item.module.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.container {
22
display: flex;
33
flex-direction: column;
4-
gap: 12px;
4+
gap: 6px;
55
padding: 12px;
66
}
77

0 commit comments

Comments
 (0)