Skip to content

Conversation

@S-ali007
Copy link

✨ Feature: Add Validation for Together AI API Key
Summary
This pull request addresses Issue #2 by implementing client-side validation for the Together AI API key input. The key is now verified both for correct format and through a live API call.

🔧 Implementation Details
Key format validation using a basic regex pattern to ensure input is structurally valid.

Remote validation via https://api.together.xyz/v1/models to check key authenticity.

UX improvements:

Displays error feedback when an invalid key is entered.

Shows a loading indicator while verifying the key.

Highlights the input field red when invalid, neutral when valid.

@vercel
Copy link
Contributor

vercel bot commented Jul 14, 2025

@S-ali007 is attempting to deploy a commit to the Together AI Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant