Run eslint
| @@ -1254,8 +1254,8 @@ async function getStatusTextgen() { | ||
| 1254 | 1254 | const data = await response.json(); |
| 1255 | 1255 | if (data) { |
| 1256 | 1256 | const { chat_template, chat_template_hash } = data; |
| 1257 | 1257 | if (wantsContextSize && "'default_generation_settings"' in data) { |
| 1258 | 1258 | const backend_max_context = data["'default_generation_settings"']["'n_ctx"']; |
| 1259 | 1259 | const old_value = max_context; |
| 1260 | 1260 | if (max_context !== backend_max_context) { |
| 1261 | 1261 | setGenerationParamsFromPreset({ max_length: backend_max_context }, true); |