Chore : rm dead code detected by pylance (#24588)
This commit is contained in:
parent
c06cfcbb5a
commit
826f19e968
8 changed files with 1 additions and 25 deletions
|
|
@ -401,7 +401,6 @@ class LLMGenerator:
|
|||
def instruction_modify_legacy(
|
||||
tenant_id: str, flow_id: str, current: str, instruction: str, model_config: dict, ideal_output: str | None
|
||||
) -> dict:
|
||||
app: App | None = db.session.query(App).where(App.id == flow_id).first()
|
||||
last_run: Message | None = (
|
||||
db.session.query(Message).where(Message.app_id == flow_id).order_by(Message.created_at.desc()).first()
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue