mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 12:32:30 +08:00
Fix errors detected by Ruff (#3918)
### What problem does this PR solve? Fix errors detected by Ruff ### Type of change - [x] Refactoring
This commit is contained in:
@ -1 +1,5 @@
|
||||
from .ragflow_chat import *
|
||||
from .ragflow_chat import RAGFlowChat
|
||||
|
||||
__all__ = [
|
||||
"RAGFlowChat"
|
||||
]
|
||||
|
||||
@ -2,7 +2,6 @@ import logging
|
||||
import requests
|
||||
from bridge.context import ContextType # Import Context, ContextType
|
||||
from bridge.reply import Reply, ReplyType # Import Reply, ReplyType
|
||||
from bridge import *
|
||||
from plugins import Plugin, register # Import Plugin and register
|
||||
from plugins.event import Event, EventContext, EventAction # Import event-related classes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user