fix: resolve issue with the opening statement generated by the AutomaticRes
component failing to sync between states.
#12349
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Resolves #11849
This PR is a resubmission as requested, as part of the now-closed #11850 .
Fixed
Modification Details
This pull request includes updates to the
simple-prompt-input.tsx
file to integrate feature management within the prompt configuration component. The main changes involve adding theuseFeaturesStore
hook and updating the state management to include new features.Feature management integration:
web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx
: Added import foruseFeaturesStore
hook.web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx
: InitializedfeaturesStore
and extractedfeatures
andsetFeatures
from the store.web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx
: Updated the prompt configuration logic to set new features when the mode is notAppType.completion
.Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint gods