Explorar el Código

correct typos . (#25717)

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
tags/1.9.0
湛露先生 hace 1 mes
padre
commit
0bbf4fb66a
No account linked to committer's email address

+ 1
- 1
api/core/app/app_config/entities.py Ver fichero



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


name: str name: str

+ 1
- 1
api/core/rag/entities/metadata_entities.py Ver fichero



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


name: str name: str

+ 1
- 1
api/core/workflow/nodes/knowledge_retrieval/entities.py Ver fichero



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


name: str name: str

+ 2
- 2
api/core/workflow/nodes/list_operator/node.py Ver fichero

result = list(filter(filter_func, variable.value)) result = list(filter(filter_func, variable.value))
variable = variable.model_copy(update={"value": result}) variable = variable.model_copy(update={"value": result})
else: else:
raise AssertionError("this statment should be unreachable.")
raise AssertionError("this statement should be unreachable.")
return variable return variable


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


return variable return variable



Cargando…
Cancelar
Guardar