瀏覽代碼

fix: change the agent strategy category

Novice Lee 3 月之前
父節點
當前提交
5ce4ddc0ed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/core/plugin/entities/plugin.py

+ 1 - 1
api/core/plugin/entities/plugin.py

@@ -60,7 +60,7 @@ class PluginCategory(enum.StrEnum):
     Tool = "tool"
     Model = "model"
     Extension = "extension"
-    AgentStrategy = "agent_strategy"
+    AgentStrategy = "agent-strategy"
 
 
 class PluginDeclaration(BaseModel):