Allow to specify dynamic prompts

This commit is contained in:
Ettore Di Giacinto
2025-03-02 22:40:37 +01:00
parent 5721c52c0d
commit f6e16be170
10 changed files with 237 additions and 13 deletions

12
main.go
View File

@@ -41,7 +41,17 @@ func main() {
os.MkdirAll(stateDir, 0755)
// Create the agent pool
pool, err := state.NewAgentPool(testModel, apiURL, apiKey, stateDir, localRAG, webui.Actions, webui.Connectors, timeout)
pool, err := state.NewAgentPool(
testModel,
apiURL,
apiKey,
stateDir,
localRAG,
webui.Actions,
webui.Connectors,
webui.PromptBlocks,
timeout,
)
if err != nil {
panic(err)
}