Prefer const in variable definition

1de4f30775d18f4800a19799fb4fb74e8dae07b1

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
src/endpoints/backends/text-completions.js+1 -1
@@ -79,7 +79,7 @@ async function parseOllamaStream(jsonStream, request, response) {
79async function abortKoboldCppRequest(request, url) {79async 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 };