Remove inference agent - #1215
Conversation
WalkthroughChangesThe Inference Agent implementation, public headers, Bazel targets, runtime integrations, service command, startup scripts, documentation, and tests were removed. Remaining agent behavior and configuration were preserved. Inference Agent removal
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/main/helpers/Helper.cc (1)
268-268: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick winUpdate the C++ tests for the changed unknown-service behavior.
Add or update a
*_test.ccundersrc/tests/cpp/. Cover an unsupported processor string and verify that lookup returnsProcessorType::UNKNOWN, required arguments are empty for both caller types, and generic help does not list the unsupported service. Remove obsolete inference-agent-specific tests instead of adding tests that retain the removed identifier.As per coding guidelines, test updates are required when production code under
src/changes behavior. As per path instructions, keep the inference-agent removal narrowly scoped and remove related tests with the feature.Also applies to: 283-283, 333-333
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@src/main/helpers/Helper.cc` at line 268, Update the relevant C++ test file under src/tests/cpp to cover an unsupported processor string: assert lookup returns ProcessorType::UNKNOWN, required arguments are empty for both caller types, and generic help omits the unsupported service. Remove obsolete inference-agent-specific tests and references so the inference-agent removal remains narrowly scoped.Sources: Coding guidelines, Path instructions
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@src/main/helpers/Helper.cc`:
- Line 268: Update the relevant C++ test file under src/tests/cpp to cover an
unsupported processor string: assert lookup returns ProcessorType::UNKNOWN,
required arguments are empty for both caller types, and generic help omits the
unsupported service. Remove obsolete inference-agent-specific tests and
references so the inference-agent removal remains narrowly scoped.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: bb9fd491-2fd6-49f2-a384-c6dd2a521c03
📒 Files selected for processing (32)
src/BUILDsrc/agents/context_broker/README.mdsrc/agents/inference_agent/BUILDsrc/agents/inference_agent/InferenceAgent.ccsrc/agents/inference_agent/InferenceAgent.hsrc/agents/inference_agent/InferenceContext.ccsrc/agents/inference_agent/InferenceContext.hsrc/agents/inference_agent/InferenceIterator.hsrc/agents/inference_agent/InferenceProcessor.ccsrc/agents/inference_agent/InferenceProcessor.hsrc/agents/inference_agent/InferenceProxy.ccsrc/agents/inference_agent/InferenceProxy.hsrc/agents/inference_agent/InferenceRequest.ccsrc/agents/inference_agent/InferenceRequest.hsrc/agents/inference_agent/InferenceRequestValidator.hsrc/agents/inference_agent/README.mdsrc/main/README.mdsrc/main/bus_node.ccsrc/main/helpers/BUILDsrc/main/helpers/Helper.ccsrc/main/helpers/Helper.hsrc/main/helpers/ProcessorFactory.hsrc/main/helpers/ProxyFactory.hsrc/scripts/integration_test_setup.shsrc/scripts/run_agents.shsrc/scripts/setup_inference_toy_problem.shsrc/service_bus/ServiceBus.ccsrc/service_bus/ServiceBus.hsrc/tests/cpp/BUILDsrc/tests/cpp/inference_agent_test.ccsrc/tests/integration/cpp/BUILDsrc/tests/integration/cpp/inference_integration_test.cc
💤 Files with no reviewable changes (30)
- src/agents/inference_agent/InferenceProcessor.h
- src/main/helpers/BUILD
- src/agents/inference_agent/InferenceRequestValidator.h
- src/agents/inference_agent/InferenceRequest.h
- src/agents/context_broker/README.md
- src/agents/inference_agent/InferenceAgent.h
- src/agents/inference_agent/InferenceContext.cc
- src/main/bus_node.cc
- src/BUILD
- src/service_bus/ServiceBus.h
- src/agents/inference_agent/InferenceAgent.cc
- src/agents/inference_agent/InferenceProxy.cc
- src/agents/inference_agent/BUILD
- src/main/README.md
- src/service_bus/ServiceBus.cc
- src/scripts/setup_inference_toy_problem.sh
- src/main/helpers/ProcessorFactory.h
- src/agents/inference_agent/InferenceIterator.h
- src/agents/inference_agent/README.md
- src/main/helpers/Helper.h
- src/agents/inference_agent/InferenceProcessor.cc
- src/main/helpers/ProxyFactory.h
- src/tests/integration/cpp/inference_integration_test.cc
- src/agents/inference_agent/InferenceRequest.cc
- src/tests/cpp/inference_agent_test.cc
- src/agents/inference_agent/InferenceContext.h
- src/tests/cpp/BUILD
- src/agents/inference_agent/InferenceProxy.h
- src/scripts/run_agents.sh
- src/tests/integration/cpp/BUILD
WIP towards #1208
Removes Inference agent