text: Title: System : Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
  Body: Hi @tricktreat , Everything works in `CLI` mode.
  
  I tried to chat in web.
  
  ```
  Human :
  Please answer all the named entities in the sentence: Iron Man is a superhero appearing in American comic books published by Marvel Comics. The character was co-created by writer and editor Stan Lee, developed by scripter Larry Lieber, and designed by artists Don Heck and Jack Kirby.
  System :
  Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
  ```
  
  Here is my `index.ts` file
  ```
  const HUGGINGGPT_BASE_URL = "http://{LAN_IP_of_the_server}:{port}/" //"http://localhost:8004"
  
  // use ChatGPT: double click on the setting icon
  const CHAT_GPT_URL = "https://api.openai.com"
  const CHAT_GPT_LLM = "gpt-3.5-turbo" // gpt-3.5-turbo, gpt-4
  // Dev: local endpoint
  // const CHAT_GPT_URL = "http://localhost:8006"
  
  export {HUGGINGGPT_BASE_URL, CHAT_GPT_URL, CHAT_GPT_LLM}
  ```
  
  Everything works fine when I double click the setting icon (switch from huggingGPT to ChatGPT) and ask the same question in Web:
  ```
  ChatGPT :
  Hi there! I am OpenAI ChatGPT, an AI assistant for you. How can I help you? 
  Human :
  Please answer all the named entities in the sentence: Iron Man is a superhero appearing in American comic books published by Marvel Comics. The character was co-created by writer and editor Stan Lee, developed by scripter Larry Lieber, and designed by artists Don Heck and Jack Kirby.
  ChatGPT :
  Named entities in the sentence are:
  
  1. Iron Man (superhero)
  2. American (related to the comic books being published)
  3. Marvel Comics (publishing house)
  4. Stan Lee (writer and editor)
  5. Larry Lieber (scripter)
  6. Don Heck (artist)
  7. Jack Kirby (artist)
  ```