Spaces:
Running
Running
Update playground.html
Browse files- playground.html +1 -1
playground.html
CHANGED
|
@@ -700,7 +700,7 @@
|
|
| 700 |
async function callApi(userMessage, model) {
|
| 701 |
let fullResponse = "";
|
| 702 |
if (model === "searchgpt") {
|
| 703 |
-
const url = `https://parthsadaria-lokiai.hf.space/searchgpt?q=${encodeURIComponent(userMessage)}&stream=true&systemprompt=You are **SearchGPT**, an AI with internet access. Reply directly and accurately to user requests
|
| 704 |
try {
|
| 705 |
const response = await fetch(url);
|
| 706 |
if (response.ok) {
|
|
|
|
| 700 |
async function callApi(userMessage, model) {
|
| 701 |
let fullResponse = "";
|
| 702 |
if (model === "searchgpt") {
|
| 703 |
+
const url = `https://parthsadaria-lokiai.hf.space/searchgpt?q=${encodeURIComponent(userMessage)}&stream=true&systemprompt=You are **SearchGPT**, an AI with internet access. Reply directly and accurately to user requests. Mention Sources at end`;
|
| 704 |
try {
|
| 705 |
const response = await fetch(url);
|
| 706 |
if (response.ok) {
|