fix: update TestPrompt and improve error handling in channel test

This commit is contained in:
Laisky.Cai
2025-02-08 07:15:53 +00:00
parent 267f565079
commit bf54caa9dc
2 changed files with 13 additions and 8 deletions

View File

@@ -178,4 +178,4 @@ var UserContentRequestTimeout = env.Int("USER_CONTENT_REQUEST_TIMEOUT", 30)
// EnforceIncludeUsage is used to determine whether to include usage in the response
var EnforceIncludeUsage = env.Bool("ENFORCE_INCLUDE_USAGE", false)
var TestPrompt = env.String("TEST_PROMPT", "Print your model name exactly and do not output without any other text.")
var TestPrompt = env.String("TEST_PROMPT", "2 + 2 = ?")