mirror of
https://github.com/langgenius/dify-plugin-daemon.git
synced 2026-07-22 01:35:24 -04:00
11 lines
342 B
Python
11 lines
342 B
Python
from collections.abc import Generator
|
|
from typing import Any
|
|
|
|
|
|
from dify_plugin.entities.agent import AgentInvokeMessage
|
|
from dify_plugin.interfaces.agent import AgentStrategy
|
|
|
|
|
|
class {{ .PluginName | SnakeToCamel }}AgentStrategy(AgentStrategy):
|
|
def _invoke(self, parameters: dict[str, Any]) -> Generator[AgentInvokeMessage]:
|
|
pass |