This is an automated email from the ASF dual-hosted git repository. linkinstar pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/answer.git
commit 5ec9d8b6235b2e4a4c139999464870479b58c229 Author: LinkinStars <[email protected]> AuthorDate: Thu Jan 29 16:59:39 2026 +0800 fix: add AI provider configuration to initialization data --- internal/migrations/init_data.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/migrations/init_data.go b/internal/migrations/init_data.go index daef5bb0..5af41bbf 100644 --- a/internal/migrations/init_data.go +++ b/internal/migrations/init_data.go @@ -353,6 +353,7 @@ var ( {ID: 128, Key: "rank.answer.undeleted", Value: `-1`}, {ID: 129, Key: "rank.question.undeleted", Value: `-1`}, {ID: 130, Key: "rank.tag.undeleted", Value: `-1`}, + {ID: 131, Key: "ai_config.provider", Value: `[{"default_api_host":"https://api.openai.com","display_name":"OpenAI","name":"openai"},{"default_api_host":"https://generativelanguage.googleapis.com","display_name":"Gemini","name":"gemini"},{"default_api_host":"https://api.anthropic.com","display_name":"Anthropic","name":"anthropic"}]`}, } defaultBadgeGroupTable = []*entity.BadgeGroup{
