Skip to content

Conversation

@ldc861117
Copy link
Owner

This commit fixes the frontend validation issues preventing users from using local LLM providers without API keys.

Changes:

  • Remove required validation for API Key fields in custom mode
  • Update placeholder text to indicate API keys are optional for local providers
  • Change initialization check from apiKey to modelId (more reliable)
  • Improve user experience with clearer messaging

Fixes: Users can now configure Ollama and other local providers without being blocked by API key validation in the frontend.

Related: Backend already supports optional API keys for local providers

Description

Please include a concise summary, in clear English, of the changes in this pull request. If it closes an issue, please
mention it here.

Closes: #(issue)

🎯 PRs Should Target Issues

Before your create a PR, please check to see if there is an existing issue
for this change. If not, please create an issue before you create this PR, unless the fix is very small.

Not adhering to this guideline will result in the PR being closed.

This commit fixes the frontend validation issues preventing users from using
local LLM providers without API keys.

Changes:
- Remove required validation for API Key fields in custom mode
- Update placeholder text to indicate API keys are optional for local providers
- Change initialization check from apiKey to modelId (more reliable)
- Improve user experience with clearer messaging

Fixes: Users can now configure Ollama and other local providers without
being blocked by API key validation in the frontend.

Related: Backend already supports optional API keys for local providers
@ldc861117 ldc861117 merged commit e73dbc7 into main Oct 19, 2025
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.

2 participants