This PR enables support for exporting only valid tools that have prompts and that are executed.
...
Why
This prevents export of dummy tools developed using Prompt Studio.
...
How
Adding validations to see if the Output Manager has a valid field against the prompt.
...
Can this PR break any existing features. If yes please list of possible items. If no please explain why. (PS: Admins do not merge the PR without this section filled)
Export validation is an additional filtering check and does not break features.
Export functional logic has these changes made, but will prevent export only if there is not valid prompt.
...
Database Migrations
Not applicable.
...
Env Config
Not applicable.
...
Notes on Testing
Test by exporting a properly executed tool.
Create a prompt with no text prompt entered, try exporting.
Create a prompt and without executing it, try exporting.
...
Screenshots
GT
Checklist
I have read and understood the [Contribution Guidelines]().
What
This PR enables support for exporting only valid tools that have prompts and that are executed. ...
Why
This prevents export of dummy tools developed using Prompt Studio. ...
How
Adding validations to see if the Output Manager has a valid field against the prompt. ...
Can this PR break any existing features. If yes please list of possible items. If no please explain why. (PS: Admins do not merge the PR without this section filled)
...
Database Migrations
Not applicable.
...
Env Config
Not applicable. ...
Notes on Testing
...
Screenshots
GT
Checklist
I have read and understood the [Contribution Guidelines]().