fix: BASE_URL is not defined - use BASE instead
Error: ReferenceError: BASE_URL is not defined Fix: Change BASE_URL to BASE in executeUnifiedPromptStream (line 425)
This commit is contained in:
parent
b1d596e0ab
commit
b39ba45749
|
|
@ -422,7 +422,7 @@ export const api = {
|
||||||
|
|
||||||
// Return a Promise that resolves with final result
|
// Return a Promise that resolves with final result
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const url = `${BASE_URL}/prompts/execute-stream?${params}`
|
const url = `${BASE}/prompts/execute-stream?${params}`
|
||||||
|
|
||||||
const eventSource = new EventSource(url)
|
const eventSource = new EventSource(url)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user