mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-02 09:57:50 +00:00
### What problem does this PR solve? #9082 #6365 <u> **WARNING: it's not compatible with the older version of `Agent` module, which means that `Agent` from older versions can not work anymore.**</u> ### Type of change - [x] New Feature (non-breaking change which adds functionality)
6 lines
173 B
Python
6 lines
173 B
Python
from . import prompts
|
|
|
|
__all__ = [name for name in dir(prompts)
|
|
if not name.startswith('_')]
|
|
|
|
globals().update({name: getattr(prompts, name) for name in __all__}) |