Skip to content

Commit 5ec9d8b

Browse files
committed
fix: add AI provider configuration to initialization data
1 parent ff6b573 commit 5ec9d8b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/migrations/init_data.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ var (
353353
{ID: 128, Key: "rank.answer.undeleted", Value: `-1`},
354354
{ID: 129, Key: "rank.question.undeleted", Value: `-1`},
355355
{ID: 130, Key: "rank.tag.undeleted", Value: `-1`},
356+
{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"}]`},
356357
}
357358

358359
defaultBadgeGroupTable = []*entity.BadgeGroup{

0 commit comments

Comments
 (0)