fix: codestyle error fix (#904)

This commit is contained in:
magic.chen 2023-12-07 16:59:35 +08:00 committed by GitHub
parent 6a26b7aefe
commit 18565149ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -506,7 +506,6 @@ class BaseChat(ABC):
)
def _build_model_operator(
is_stream: bool = False, dag_name: str = "llm_model_dag"
) -> BaseOperator:

View File

@ -17,7 +17,11 @@ class SqlAction(NamedTuple):
display: str
def to_dict(self) -> Dict[str, Dict]:
return {"sql": self.sql, "thoughts": self.thoughts, "display": self.display, }
return {
"sql": self.sql,
"thoughts": self.thoughts,
"display": self.display,
}
logger = logging.getLogger(__name__)