diff --git a/Makefile b/Makefile index 57ce2176..d88d5ad2 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ ############ build-plugins: ## Builds all plugins for all defined platforms - goreleaser build -f .goreleaser.plugin.yaml --rm-dist --snapshot + goreleaser build -f .goreleaser.plugin.yaml --clean --snapshot .PHONY: build-plugins build-plugins-single: ## Builds specified plugins in binary format only for current GOOS and GOARCH. @@ -11,7 +11,7 @@ build-plugins-single: ## Builds specified plugins in binary format only for curr .PHONY: build-plugins-single build-plugins-archives: ## Builds all plugins for all defined platforms in form of archives - goreleaser release -f .goreleaser.plugin.yaml --rm-dist --snapshot + goreleaser release -f .goreleaser.plugin.yaml --clean --snapshot .PHONY: build-plugins ############## diff --git a/cmd/executor/ai-face/config_schema.json b/cmd/executor/ai-face/config_schema.json index e26ec98b..9ce7c26d 100644 --- a/cmd/executor/ai-face/config_schema.json +++ b/cmd/executor/ai-face/config_schema.json @@ -1,12 +1,13 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Echo", - "description": "Echo is an example Botkube executor plugin used during e2e tests. It's not meant for production usage.", + "title": "AI Face", + "description": "Proxies incoming prompts into AI engine a.k.a brain that responds with analysis.", "type": "object", "properties": { "aiBrainSourceName": { "type": "string", - "default": "ai-brain" + "default": "ai-brain", + "title": "AI Brain configuration source name. It is used to trigger AI brain using incoming webhook payload." } }, "required": [] diff --git a/cmd/executor/ai-face/main.go b/cmd/executor/ai-face/main.go index ced5ec39..dceb73c3 100644 --- a/cmd/executor/ai-face/main.go +++ b/cmd/executor/ai-face/main.go @@ -35,7 +35,7 @@ const ( // Config holds executor configuration. type Config struct { - AIBrainSourceName string `json:"aiBrainSourceName"` + AIBrainSourceName string `yaml:"aiBrainSourceName"` Log config.Logger `yaml:"log"` }