fy({
            "messages": [{"role": "user","content": "How are you?"}],
            "model": modelMap[provider],
            "max_tokens": 40
          });

          const requestOptions = {method: "POST", headers: myHeaders, body: raw};

          // Add loading class to testRequestBtn
          testRequestBtn.classList.add('loading');

          fetch("/v1/chat/completions", requestOptions)
            .then((response) => {
              if (!response.ok) {
                return response.json().then(