mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366)
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
from typing import List, Optional
|
||||
|
||||
from core.model_manager import ModelInstance
|
||||
from langchain.schema import Document
|
||||
|
||||
from core.model_manager import ModelInstance
|
||||
|
||||
|
||||
class RerankRunner:
|
||||
def __init__(self, rerank_model_instance: ModelInstance) -> None:
|
||||
|
||||
Reference in New Issue
Block a user