Skip to content

Commit 54ce03b

Browse files
fix: updated prompt description (#83)
1 parent 4af9686 commit 54ce03b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/components/settings/SettingsViewExtra.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ import { HaiBuildIndexProgress } from "../../../../src/shared/customApi"
99
const haiSystemPromptVersions = [
1010
{
1111
version: "v1",
12-
label: "Precision",
13-
description: "Reducing API cost by ~40%.",
12+
label: "Optimized v1",
13+
description: "Optimised tool definitions, reducing cost by ~35%.",
1414
},
1515
{
1616
version: "v2",
17-
label: "Clarity",
18-
description: "Reducing API cost by ~30%.",
17+
label: "Optimized v2",
18+
description: "Optimised guidelines/instructions, reducing cost by ~25%.",
1919
},
2020
{
2121
version: "v3",
22-
label: "Harmony\n",
23-
description: "Reducing API cost by ~60%.",
22+
label: "Optimized v3",
23+
description: "Optimised tool definitions and guidelines/instructions, reducing cost by ~50%.",
2424
},
2525
{
2626
version: "default",
27-
label: "Standard\n",
27+
label: "Standard",
2828
description: "Default with no optimizations, highest API cost.",
2929
},
3030
]
@@ -146,7 +146,7 @@ const SettingsViewExtra = ({
146146
return (
147147
<>
148148
<div style={{ marginBottom: 5 }}>
149-
<div className="dropdown-container">
149+
<div className="dropdown-container" style={{ marginBottom: 5 }}>
150150
<label htmlFor="system-prompt-version">
151151
<span style={{ fontWeight: 500 }}>Prompt Optimization (Experimental)</span>
152152
</label>

0 commit comments

Comments
 (0)