Skip to content

Commit 03572d9

Browse files
committed
Remove unneccessary API key warning chip
Users are now forced to set their API key before they can submit a prompt so the warning is redundant. Signed-off-by: Brianna Major <brianna.major@kitware.com>
1 parent 1c1febf commit 03572d9

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/vtk_prompt/ui/layout/content.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,6 @@ def build_content(layout: Any, app: Any) -> None:
5353
classes="mb-2",
5454
v_show="!use_cloud_models",
5555
)
56-
vuetify.VSpacer()
57-
# API token warning chip
58-
vuetify.VChip(
59-
"API token is required for cloud models.",
60-
small=True,
61-
color="error",
62-
text_color="white",
63-
label=True,
64-
classes="mb-2",
65-
v_show="use_cloud_models && !api_token.trim()",
66-
prepend_icon="mdi-alert",
67-
)
6856

6957
with html.Div(classes="d-flex", style="height: calc(100% - 75px);"):
7058
# Query input

0 commit comments

Comments
 (0)