mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 03:46:52 +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