Skip to content

add form validation for required fields #763

@iamrajiv

Description

@iamrajiv

currently users can click save and test without providing required api keys leading to confusing health check failures we should validate required fields before attempting to save and provide clear error messages

ac:

  • validation runs before save check required fields before api calls
  • provider specific validation different requirements per provider
    • openai api key required
    • anthropic api key required
    • custom api api key and url required
    • azure api key and url required
  • clear error messages specific actionable error text
  • multiple errors shown display all validation issues at once
  • visual indicators red borders or icons on invalid fields
  • save button disabled when validation fails

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions