mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-26 09:36:07 +08:00
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:
File diff suppressed because one or more lines are too long
@ -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",
|
||||
|
||||
@ -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"
|
||||
Reference in New Issue
Block a user