Repository navigation
Conversation
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
CodeAnt-AI DescriptionLet classifier routes send delegated work through a separate sub-agent policy What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (7)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughChangesLLM classifier sub-agent routing
Merge Risk: ⚪ Minimal · up to LLM classifier routes can now delegate sub-agent work through nested policies while preserving documented target resolution and configuration validation. The supported configurations and invalid nested fallback setting are covered, with no remaining merge-readiness risk identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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. A rabbit hops through nested routes Comment |
035768b to
bd02817
Compare
CodeAnt-AI DescriptionLet classifier routes send delegated work through a separate sub-agent policy What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
bd02817 to
669358c
Compare
CodeAnt-AI DescriptionLet classifier routes send delegated work through a separate sub-agent policy What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
|
Rebased onto current |
|
Pushed bff9371.
|
CodeAnt-AI DescriptionLet classifier routes send delegated work through a separate sub-agent policy What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
CodeAnt-AI DescriptionLet classifier routes send delegated work through a separate sub-agent policy What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
|
Pushed Fixed:
Not changed:
|
f113fba to
9020124
Compare
CodeAnt-AI DescriptionLet classifier routes send delegated work through a separate sub-agent policy What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
9020124 to
8d9a243
Compare
subagents on an llm_classifier route (#493)subagents on an llm_classifier route
CodeAnt-AI DescriptionLet classifier routes send delegated work through a separate sub-agent policy What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
8d9a243 to
35bb96f
Compare
35bb96f to
68265ff
Compare
CodeAnt-AI DescriptionLet classifier routes send delegated work through a separate sub-agent policy What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
68265ff to
e5e1e99
Compare
CodeAnt-AI DescriptionShow configured routes in the terminal and route classifier sub-agent work separately What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
…rminal app (NVIDIA-NeMo#1094) * feat(desktop): parse server routes and add the Routes table to the terminal app Signed-off-by: Elyas Mehtabuddin <emehtabuddin@nvidia.com> * feat(desktop): show route details and endpoint status in the terminal app (NVIDIA-NeMo#1095) Signed-off-by: Elyas Mehtabuddin <emehtabuddin@nvidia.com> * fix(desktop): list each route's models from the runner's target names Signed-off-by: Elyas Mehtabuddin <emehtabuddin@nvidia.com> --------- Signed-off-by: Elyas Mehtabuddin <emehtabuddin@nvidia.com>
NVIDIA-NeMo#633) Signed-off-by: ChethanUK <chethanuk@outlook.com>
Signed-off-by: ChethanUK <chethanuk@outlook.com>
9f4afb9 to
229b38e
Compare
|
What
An
llm_classifierroute can now take a nested[routes.<name>.subagents]table, likepassthrough,stage_routerandcompositealready do. Refs NVIDIA-NeMo#493.In
crates/switchyard-runner/src/algorithm.rs,AlgorithmSpec::LlmClassifiergetssubagents: Option<SubagentRouteConfig>, wired into the five places that read it:routing_target_names,callable_target_names(the child's judge needs a client too),runtime_model_names(the driver needs the sub-agent's own model groups), andbuild_algorithm, which now hands the classifier toattach_subagent_router, androuting_response_and_dependencies. In escalation mode the parent answers onweak_targetwhile routing, so a child judge on that model would pick up itssystem_prompt. That last one now counts sub-agent judges as routing-only dependencies, and that config is rejected the same way a parent judge on that model already is. The docs listllm_classifieras a parent and the schema table gets asubagentsrow.Why
LlmClassifierRouteConfigis flattened into the variant and isdeny_unknown_fields, so asubagentskey failed parsing:SubagentRouterdoesn't care what its parent is, so only the config surface was missing.Before / After
routes.toml(a parentllm_classifierroute with apassthroughsub-agent table), served by theswitchyard-serverbinary built at each commit, with a local stdlib-Python mock OpenAI upstream on port 18081 that logs every call's model toupstream.logand echoes that model back. Output is verbatim;[exit N]is the exit code of the command above it.Before, base
a601a9a3f9db149a1ad430fa43b1463a170c8a82(forkmain):After,
bff93712583be83105983e872710b417fc209567(captured before the final rebase and squash; the server test below covers the same path at the current head):Same
routes.toml, realswitchyard-serverbinary, mock OpenAI upstream. Before, the server refuses to start. After, a request with Claude Code sub-agent headers goes straight toworker/modeland the judge is never called.Notes for reviewers
Start at
parent_routes_accept_subagent_routinginconfig.rs. It checks that the parent'scallable_target_namescontains both judges and a target only the child uses (worker), then builds the accept table over capability, escalation and custom-mode parents, each with anllm_classifierchild (apassthroughchild has no judge, so it adds no branch there; the models and server tests cover it). The other wiring changes each have a test that fails without them. Drop theattach_subagent_routercall andrejects_invalid_references_and_parametersfails; drop theruntime_model_namesarm andsubagent_models_stay_separate_from_the_parent_tiersfails (it now runs for bothstageandclassifier).llm_classifier_parent_sends_subagent_work_to_the_child_routeinswitchyard-server/tests/server.rschecks both capability and escalation parents end to end: a request withx-claude-code-agent-idreaches only the child's target, and one without it calls the parent judge. It fails ifbuild_algorithmskipsattach_subagent_router.Rebased onto current
main, which reworked classifier modes andcallable_target_names. I also dropped the CHANGELOG entry: 0.3.0 is released and feature PRs no longer edit it.At
8d9a243f, rebased onfbabf51c:I did not run
switchyard-nemo-relay-plugintests (not enough disk to build it); this PR does not change its code, and the onlyAlgorithmSpecvariant it uses isNoop.Limitation:
random,advisor,plan_execute,prefill_routerandautostill don't acceptsubagents. The new field on the public, non-#[non_exhaustive]AlgorithmSpec::LlmClassifierbreaks downstream struct literals and patterns that don't end in.., so it needs a note in the next 0.x release.