mirror of
https://github.com/mudler/LocalAGI.git
synced 2026-07-23 10:45:41 -04:00
8487459d90
* feat(actions): allow actions to return images Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * feat(prompts): allow to have images in dynamic prompts Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * chore: change signature of dynamic prompts to allow to return base64 images Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * chore: fixups Signed-off-by: Ettore Di Giacinto <mudler@localai.io> --------- Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
9 lines
157 B
Go
9 lines
157 B
Go
package agent
|
|
|
|
import "github.com/mudler/LocalAGI/core/types"
|
|
|
|
type DynamicPrompt interface {
|
|
Render(a *Agent) (types.PromptResult, error)
|
|
Role() string
|
|
}
|