Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an error message when serving the app with wrong types of the config params #1429

Open
SamMethnani opened this issue Mar 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working Frontend low-priority

Comments

@SamMethnani
Copy link
Contributor

Describe the bug
Currently, there is no error message when serving the app with incorrect types of the configuration parameters. Although the app is served, it does not display the parameters in the UI.

To Reproduce
Steps to reproduce the behavior:

  • config the params like this, where temperature is a float not an integer:
    ag.config.register_default( temperature=ag.IntParam(0.9, 0.0, 1.0), )
  • then serve the variant
  • check it in th UI

Expected behavior
When serving with incorrect types, displaying an error message informing it.

Screenshots
Screenshot 2024-03-07 at 19 51 05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Frontend low-priority
Projects
None yet
Development

No branches or pull requests

4 participants