ragflow/agent/tools
Liu An b9c4954c2f
Fix: Replace StrEnum with strenum in code_exec.py (#9376)
### What problem does this PR solve?

- The enum import was changed from Python's built-in StrEnum to the
strenum package.
- Fix error `Warning: Failed to import module code_exec: cannot import
name 'StrEnum' from 'enum' (/usr/lib/python3.10/enum.py)`

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-08-11 15:32:04 +08:00
..
__init__.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
akshare.py Feat: Redesign and refactor agent module (#9113) 2025-07-30 19:41:09 +08:00
arxiv.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
base.py Refa: add result to callback for agent tool use. (#9137) 2025-08-01 21:49:39 +08:00
code_exec.py Fix: Replace StrEnum with strenum in code_exec.py (#9376) 2025-08-11 15:32:04 +08:00
crawler.py Feat: Redesign and refactor agent module (#9113) 2025-07-30 19:41:09 +08:00
deepl.py Feat: Redesign and refactor agent module (#9113) 2025-07-30 19:41:09 +08:00
duckduckgo.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
email.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
exesql.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
github.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
google.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
googlescholar.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
jin10.py Feat: Redesign and refactor agent module (#9113) 2025-07-30 19:41:09 +08:00
pubmed.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
qweather.py Feat: Redesign and refactor agent module (#9113) 2025-07-30 19:41:09 +08:00
retrieval.py Fix: model type error. (#9308) 2025-08-07 16:14:47 +08:00
tavily.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
tushare.py Feat: Redesign and refactor agent module (#9113) 2025-07-30 19:41:09 +08:00
wencai.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
wikipedia.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
yahoofinance.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00