Skip to content

Commit 25e3476

Browse files
committed
fix: remove redundant api key prefix validation
1 parent 3d0e64e commit 25e3476

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/wingman/ui/modals.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ async def _validate_key(self, key: str) -> None:
5353
status.update("Validating...")
5454
status.set_classes("validating")
5555

56-
if not key.startswith("dsk_"):
57-
status.update("Invalid key format. Key must start with dsk_")
58-
status.set_classes("error")
59-
input_widget.disabled = False
60-
input_widget.focus()
61-
return
62-
6356
try:
6457
client = AsyncDedalus(api_key=key)
6558
await client.models.list()

0 commit comments

Comments
 (0)