+
+
+ Include Tool Turns
+
+
+
+
+
+ Let the classifier read the tool calls and results that followed the current ask, so an agent loop is
+ classified on what its tools turned up, such as the file that describes the task.
+
+
+ )}
)}
diff --git a/ui/litellm-dashboard/src/components/add_model/ComplexityRouterConfig.integration.test.tsx b/ui/litellm-dashboard/src/components/add_model/ComplexityRouterConfig.integration.test.tsx
index acbece64904..3d321974e74 100644
--- a/ui/litellm-dashboard/src/components/add_model/ComplexityRouterConfig.integration.test.tsx
+++ b/ui/litellm-dashboard/src/components/add_model/ComplexityRouterConfig.integration.test.tsx
@@ -445,6 +445,43 @@ describe("ComplexityRouterConfig", () => {
);
});
+ it("should turn tool turns on from its switch when classifier_type is llm", async () => {
+ const onChange = vi.fn();
+ const llmValue: ComplexityRouterConfigValue = {
+ ...defaultValue,
+ classifier_type: "llm",
+ classifier_llm_config: { model: "gpt-3.5-turbo", timeout_ms: 3000 },
+ };
+ renderWithProviders(