-
Notifications
You must be signed in to change notification settings - Fork 186
Remove QPT model ID autofill logic in Agent Registration #4473
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
base: main
Are you sure you want to change the base?
Remove QPT model ID autofill logic in Agent Registration #4473
Conversation
WalkthroughThis PR removes automatic augmentation of QueryPlanningTool with a model_id from the agent registration process. The changes eliminate the processQueryPlannerTools method, related tool modification logic, and corresponding test cases while preserving public API signatures. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🔇 Additional comments (1)
Comment |
|
@rithin-pullela-aws #4458 is merged. We can get this one in too for 3.4 |
Signed-off-by: rithin-pullela-aws <[email protected]>
e145174 to
60060f3
Compare
|
Insufficient disk space issue for linux: Issue with remote service, retry would fix this: |
Description
Needs to be merged after #4458
#4458 exposes the agent model ID in params which can be used by tools.
Query Planning Tool has been refactored to use the agent's model ID during agent creation if not explicitly specified during model registration.
Hence the older logic of adding the model ID during QPT registration is not required anymore.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
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.
Summary by CodeRabbit
Refactor
Tests
✏️ Tip: You can customize this high-level summary in your review settings.