Pārlūkot izejas kodu

correct typos . (#25717)

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
tags/1.9.0
湛露先生 pirms 1 mēnesi
vecāks
revīzija
0bbf4fb66a
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam

+ 1
- 1
api/core/app/app_config/entities.py Parādīt failu

@@ -173,7 +173,7 @@ class ModelConfig(BaseModel):

class Condition(BaseModel):
"""
Conditon detail
Condition detail
"""

name: str

+ 1
- 1
api/core/rag/entities/metadata_entities.py Parādīt failu

@@ -30,7 +30,7 @@ SupportedComparisonOperator = Literal[

class Condition(BaseModel):
"""
Conditon detail
Condition detail
"""

name: str

+ 1
- 1
api/core/workflow/nodes/knowledge_retrieval/entities.py Parādīt failu

@@ -91,7 +91,7 @@ SupportedComparisonOperator = Literal[

class Condition(BaseModel):
"""
Conditon detail
Condition detail
"""

name: str

+ 2
- 2
api/core/workflow/nodes/list_operator/node.py Parādīt failu

@@ -178,7 +178,7 @@ class ListOperatorNode(BaseNode):
result = list(filter(filter_func, variable.value))
variable = variable.model_copy(update={"value": result})
else:
raise AssertionError("this statment should be unreachable.")
raise AssertionError("this statement should be unreachable.")
return variable

def _apply_order(self, variable: _SUPPORTED_TYPES_ALIAS) -> _SUPPORTED_TYPES_ALIAS:
@@ -191,7 +191,7 @@ class ListOperatorNode(BaseNode):
)
variable = variable.model_copy(update={"value": result})
else:
raise AssertionError("this statement should be unreachable")
raise AssertionError("this statement should be unreachable.")

return variable


Notiek ielāde…
Atcelt
Saglabāt