You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/eval-dev-quality/cmd/evaluate.go
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -59,10 +59,10 @@ type Evaluate struct {
59
59
ProviderTokensmap[string]string`long:"tokens" description:"API tokens for model providers (of the form '$provider:$token'). When using the environment variable, separate multiple definitions with ','." env:"PROVIDER_TOKEN" env-delim:","`
60
60
// ProviderUrls holds all custom inference endpoint urls for the providers.
61
61
ProviderUrlsmap[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:","`
62
-
// QueryAttempts holds the number of query attempts to perform when a model request errors in the process of solving a task.
63
-
QueryAttemptsuint`long:"query-attempts" description:"Number of query attempts to perform when a model request errors in the process of solving a task." default:"3"`
64
-
// QueryTimeout holds the timeout for model requests.
65
-
QueryTimeoutuint`long:"query-timeout" description:"Timeout of a model query in seconds. ('0' to disable)" default:"1200"`
62
+
// APIRequestAttempts holds the number of allowed API requests per LLM query.
63
+
APIRequestAttemptsuint`long:"api-request-attempts" description:"Number of allowed API requests per LLM query." default:"3"`
64
+
// APIRequestTimeout holds the timeout for API requests in seconds.
65
+
APIRequestTimeoutuint`long:"api-request-timeout" description:"Timeout of API requests in seconds. ('0' to disable)" default:"1200"`
66
66
67
67
// Repositories determines which repository should be used for the evaluation, or empty if all repositories should be used.
68
68
Repositories []string`long:"repository" description:"Evaluate with this repository. By default all repositories are used."`
0 commit comments