This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Providers are allowed to be "" empty strings #1393
Description
Describe the issue
Providers are str for validation by Pydantic, but this still allows "" empty strings, which results in the server being unable to restart
Error: 1 validation error for ProviderEndpoint
name
String should have at least 1 character [type=string_too_short, input_value='', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/string_too_short
Steps to Reproduce
create an empty provider name and submit, empty to restart the server
Operating System
Other
IDE and Version
n/a
Extension and Version
n/a
Provider
Anthropic
Model
n/a
Codegate version
n/a
Logs
No response
Additional Context
No response