Skip to content

Commit ed0cdec

Browse files
committed
Increase API request attempts for an LLM query to 10 (from 3) because that was our new default in v1.0
1 parent 49465e2 commit ed0cdec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/eval-dev-quality/cmd/evaluate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ type Evaluate struct {
6161
// ProviderUrls holds all custom inference endpoint urls for the providers.
6262
ProviderUrls map[string]string `long:"urls" description:"Custom OpenAI API compatible inference endpoints (of the form '$provider:$url,...'). Use '$provider=custom-$name' to manually register a custom OpenAI API endpoint provider. Note that the models of a custom OpenAI API endpoint provider must be declared explicitly using the '--model' option. When using the environment variable, separate multiple definitions with ','." env:"PROVIDER_URL" env-delim:","`
6363
// APIRequestAttempts holds the number of allowed API requests per LLM query.
64-
APIRequestAttempts uint `long:"api-request-attempts" description:"Number of allowed API requests per LLM query." default:"3"`
64+
APIRequestAttempts uint `long:"api-request-attempts" description:"Number of allowed API requests per LLM query." default:"10"`
6565
// APIRequestTimeout holds the timeout for API requests in seconds.
6666
APIRequestTimeout uint `long:"api-request-timeout" description:"Timeout of API requests in seconds. ('0' to disable)" default:"1200"`
6767

0 commit comments

Comments
 (0)