Add more actions, small fixups in the UI, add stop action

This commit is contained in:
mudler
2024-04-15 17:50:51 +02:00
parent 7db2b10bd2
commit 55b7b4a41e
28 changed files with 469 additions and 190 deletions

View File

@@ -1,6 +1,8 @@
package action
import (
"context"
"github.com/sashabaranov/go-openai/jsonschema"
)
@@ -22,7 +24,7 @@ type PlanSubtask struct {
Reasoning string `json:"reasoning"`
}
func (a *PlanAction) Run(ActionParams) (string, error) {
func (a *PlanAction) Run(context.Context, ActionParams) (string, error) {
return "no-op", nil
}