feat: Add visibility toggle for API key inputs #6114
+115
−94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Closes: #6113
Description
Added visibility toggle to API key input fields for all supported providers. Key changes:
PasswordInput
component with eye icon toggleAffected providers: Amazon Bedrock, Anthropic, Chutes, Claude Code, Deepseek, GCP Vertex, Glama, Gemini, Groq, Human Relay, LiteLLM, LM Studio, Mistral, Moonshot, Ollama, OpenAI, OpenAI Compatible, Requesty, Unbound, VS Code LM API, xAI (Grok)
Test Procedure
Pre-Submission Checklist
Screenshots / Videos
Documentation Updates
Additional Notes
Get in Touch
Discord: uta080522
Important
Introduce
ApiKeyInput
component with visibility toggle for API keys across provider settings.ApiKeyInput
component inApiKeyInput.tsx
with visibility toggle for API keys.VSCodeTextField
withApiKeyInput
inAnthropic.tsx
,Bedrock.tsx
, andChutes.tsx
for API key fields.ApiKeyInput
toDeepSeek.tsx
,Gemini.tsx
, andGlama.tsx
for consistent API key handling.Groq.tsx
,LiteLLM.tsx
, andMistral.tsx
to useApiKeyInput
for API key inputs.Moonshot.tsx
,OpenAI.tsx
, andOpenAICompatible.tsx
to integrateApiKeyInput
.ApiKeyInput
inOpenRouter.tsx
,Requesty.tsx
, andUnbound.tsx
for API key visibility.ApiKeyInput
inVertex.tsx
andXAI.tsx
for API key fields.This description was created by
for fc2b3b2. You can customize this summary. It will automatically update as commits are pushed.