feat: add OpenrouterProviderSort configuration for provider sorting

This commit is contained in:
Laisky.Cai
2025-02-20 01:51:19 +00:00
parent 1a6812182b
commit 7ec33793b7
2 changed files with 6 additions and 2 deletions

View File

@@ -164,3 +164,6 @@ var UserContentRequestTimeout = env.Int("USER_CONTENT_REQUEST_TIMEOUT", 30)
var EnforceIncludeUsage = env.Bool("ENFORCE_INCLUDE_USAGE", false)
var TestPrompt = env.String("TEST_PROMPT", "Output only your specific model name with no additional text.")
// OpenrouterProviderSort is used to determine the order of the providers in the openrouter
var OpenrouterProviderSort = env.String("OPENROUTER_PROVIDER_SORT", "")