fix: rename LLM router to LLM selector (#10650)

* fix: rename LLM router to LLM selector

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* fix: rename LLMRouter component to LLMSelector

* fix: resolved merge conflicts

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* fix: resolved merge conflicts

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* fix: refactor file name

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* fix: resolve merge conflict

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* fix: resolve merge conflict

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
keval shah
2025-11-21 15:37:12 -05:00
committed by GitHub
parent 63ab3acc95
commit 59ce12ca4a
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -8,20 +8,20 @@ if TYPE_CHECKING:
from lfx.components.llm_operations.batch_run import BatchRunComponent
from lfx.components.llm_operations.lambda_filter import SmartTransformComponent
from lfx.components.llm_operations.llm_conditional_router import SmartRouterComponent
from lfx.components.llm_operations.llm_router import LLMRouterComponent
from lfx.components.llm_operations.llm_selector import LLMSelectorComponent
from lfx.components.llm_operations.structured_output import StructuredOutputComponent
_dynamic_imports = {
"BatchRunComponent": "batch_run",
"SmartTransformComponent": "lambda_filter",
"SmartRouterComponent": "llm_conditional_router",
"LLMRouterComponent": "llm_router",
"LLMSelectorComponent": "llm_selector",
"StructuredOutputComponent": "structured_output",
}
__all__ = [
"BatchRunComponent",
"LLMRouterComponent",
"LLMSelectorComponent",
"SmartRouterComponent",
"SmartTransformComponent",
"StructuredOutputComponent",

View File

@ -14,8 +14,8 @@ from lfx.schema.message import Message
from lfx.template.field.base import Output
class LLMRouterComponent(Component):
display_name = "LLM Router"
class LLMSelectorComponent(Component):
display_name = "LLM Selector"
description = "Routes the input to the most appropriate LLM based on OpenRouter model specifications"
documentation: str = "https://docs.langflow.org/components-processing#llm-router"
icon = "git-branch"