add verbose flag to completion requests to return __verbose
This commit is contained in:
parent
f6235a41ef
commit
caca24bed2
|
|
@ -195,7 +195,7 @@ task_params server_task::params_from_json_cmpl(
|
|||
defaults.antiprompt = params_base.antiprompt;
|
||||
|
||||
// enabling this will output extra debug information in the HTTP responses from the server
|
||||
params.verbose = params_base.verbosity > 9;
|
||||
params.verbose = params_base.verbosity > 9 || json_value(data, "verbose", false);
|
||||
params.timings_per_token = json_value(data, "timings_per_token", false);
|
||||
|
||||
params.stream = json_value(data, "stream", false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue