-
Notifications
You must be signed in to change notification settings - Fork 186
Add feature flag for agentic search #4021
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 feature flag for agentic search #4021
Conversation
33773f4 to
e7a24eb
Compare
| listener.onFailure(new OpenSearchException(ML_COMMONS_MCP_CONNECTOR_DISABLED_MESSAGE)); | ||
| return; | ||
| } | ||
| List<MLToolSpec> tools = mlAgent.getTools(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, it looks good to me. If we can block users from registerAgent with QueryPlanningTool that would be more user-friendly, or we would waste users' attempting in registering the agent with QueryPlanningTool then execute and find out it's not supported in this version.
e7a24eb to
e6464ed
Compare
ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/MLAgentExecutor.java
Outdated
Show resolved
Hide resolved
2d4c849 to
cf64838
Compare
460be5d to
7cfa4df
Compare
|
waiting on CI to pass |
|
@rithin-pullela-aws you need to resolve the conflict here |
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
7e625a4 to
d882441
Compare
Description
Add the feature flag
plugins.ml_commons.mcp_connector_enableddefaulted to false for agentic search feature.Prevent registering and executing agents with queryPlannerTool.
Related Issues
Resolves #4005
Check List
--signoff.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.