Prefer const in variable definition
| @@ -79,7 +79,7 @@ async function parseOllamaStream(jsonStream, request, response) { | |||
| 79 | async function abortKoboldCppRequest(request, url) { | 79 | async function abortKoboldCppRequest(request, url) { |
| 80 | try { | 80 | try { |
| 81 | console.info('Aborting Kobold generation...'); | 81 | console.info('Aborting Kobold generation...'); |
| 82 | let args = { | 82 | const args = { |
| 83 | method: 'POST', | 83 | method: 'POST', |
| 84 | headers: {}, | 84 | headers: {}, |
| 85 | }; | 85 | }; |