Originally created by @muzhi1991 on GitHub (Feb 27, 2024).
When I use openai’s interface for multi-round conversations, I can’t initiate a request after a few rounds of conversations, and I get the following error:
chrome console log:
5.31442014.js:5 Uncaught (in promise) ReferenceError: OPENAI_API_BASE_URL is not defined
at Y (5.31442014.js:5:2692)
at 5.31442014.js:2:482
at Array.map (<anonymous>)
at ce (5.31442014.js:2:158)
at Ee (5.31442014.js:1:7016)
why OPENAI_API_BASE_URL var not exists, The problem seems to occur with the following code:
Originally created by @muzhi1991 on GitHub (Feb 27, 2024).
When I use openai’s interface for multi-round conversations, I can’t initiate a request after a few rounds of conversations, and I get the following error:
chrome console log:
```
5.31442014.js:5 Uncaught (in promise) ReferenceError: OPENAI_API_BASE_URL is not defined
at Y (5.31442014.js:5:2692)
at 5.31442014.js:2:482
at Array.map (<anonymous>)
at ce (5.31442014.js:2:158)
at Ee (5.31442014.js:1:7016)
```
why OPENAI_API_BASE_URL var not exists, The problem seems to occur with the following code:
https://github.com/open-webui/open-webui/blob/6df2505bf0352a7580b33f17ce6844afe04fb7be/src/routes/(app)/%2Bpage.svelte#L588
I don't know much about js, how do I fix it?
How many turns are we talking about? Are you using OpenAI API through LiteLLM?
about 3 turns(3 request 2 response,block in third turns)
no use LiteLLM, I only set api-key in Connecttion Settings, choose gpt-3.5-turbo
@muzhi1991 commented on GitHub (Feb 27, 2024):
> How many turns are we talking about? Are you using OpenAI API through LiteLLM?
about 3 turns(3 request 2 response,block in third turns)
no use LiteLLM, I only set api-key in Connecttion Settings, choose gpt-3.5-turbo
To add, I'm using the docker version, is it the js compilation that replaces the variables?
@muzhi1991 commented on GitHub (Feb 27, 2024):
<img width="1011" alt="image" src="https://github.com/open-webui/open-webui/assets/2101044/79fa422c-0fdc-4304-857c-c86a132759a5">
I can't find this variable in the file search。
To add, I'm using the docker version, is it the js compilation that replaces the variables?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @muzhi1991 on GitHub (Feb 27, 2024).
When I use openai’s interface for multi-round conversations, I can’t initiate a request after a few rounds of conversations, and I get the following error:
chrome console log:
why OPENAI_API_BASE_URL var not exists, The problem seems to occur with the following code:
https://github.com/open-webui/open-webui/blob/6df2505bf0352a7580b33f17ce6844afe04fb7be/src/routes/(app)/%2Bpage.svelte#L588
I don't know much about js, how do I fix it?
@justinh-rahb commented on GitHub (Feb 27, 2024):
How many turns are we talking about? Are you using OpenAI API through LiteLLM?
@muzhi1991 commented on GitHub (Feb 27, 2024):
@muzhi1991 commented on GitHub (Feb 27, 2024):
To add, I'm using the docker version, is it the js compilation that replaces the variables?
@tjbck commented on GitHub (Feb 27, 2024):
Unable to reproduce the issue, moving to discussion.