Logo
Explore Help
Register Sign In
admin/dify
1
0
Fork 0
You've already forked dify
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
15ea27868e0512b7dbca633d93b1808fbdb7d575
dify/api/core/entities/agent_entities.py

9 lines
158 B
Python
Raw Normal View History

chore: adopt StrEnum and auto() for some string-typed enums (#25129) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 21:14:26 +08:00
from enum import StrEnum, auto
refactor: remove unused codes, move core/agent module into dataset retrieval feature (#2614)
2024-02-28 23:32:47 +08:00
chore: adopt StrEnum and auto() for some string-typed enums (#25129) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 21:14:26 +08:00
class PlanningStrategy(StrEnum):
ROUTER = auto()
REACT_ROUTER = auto()
REACT = auto()
FUNCTION_CALL = auto()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 219ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API