You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -66,6 +65,7 @@ public function getMessage(): string
66
65
$hint.= '</code>' . "\n";
67
66
$hint.= "\n";
68
67
$hint.= 'Replace the line "// [INSERT_CODE_HERE]" with the code which you have generated.' . "\n";
68
+
$hint.= 'Replace the line "[NAME]" with a short and precise name as lower case and separated by hyphens which summarizes the business logic of the user message.' . "\n";
69
69
$hint.= "\n";
70
70
$hint.= 'If the business logic wants to interact with an external service i.e. a database or remote HTTP endpoint, then you can use the getConnection method at the connector argument to access those external services.' . "\n";
71
71
$hint.= 'You can get a list of all available connections through the "backend_connection_getAll" tool.' . "\n";
@@ -120,33 +120,7 @@ public function getTools(): array
120
120
121
121
publicfunctiongetResponseSchema(): ?array
122
122
{
123
-
return [
124
-
'type' => 'object',
125
-
'properties' => [
126
-
'name' => [
127
-
'description' => 'A short and precise name as lower case and separated by hyphens which summarizes the business logic of the user message',
128
-
'type' => 'string',
129
-
],
130
-
'class' => [
131
-
'description' => 'The action class is always "Fusio.Adapter.Worker.Action.WorkerPHPLocal"',
132
-
'type' => 'string',
133
-
],
134
-
'config' => [
135
-
'description' => 'Config properties for this action',
0 commit comments