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

[EAI-7] Implement a runtime tool validator based on the state of a controlled field #7

Open
smiakchilo opened this issue Nov 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@smiakchilo
Copy link
Collaborator

EAI tools are only validated against user settings. A tool is considered valid if its settings are valid and also it does not require any providers or else has at least one valid provider.

Sometimes a valid tool cannot actually work if the controlled dialog field has an invalid value or no value at all. This condition is currently not handled. Instead, a tool just opens an "Enter text" dialog whenever it is called over an empty field.

We need to provision the possibility to set up an optional field validator for a tool, so that whenever a field does not meet the tool's requirement, the latter is displayed in disabled state.

@smiakchilo smiakchilo added the enhancement New feature or request label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant