Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to OpenAi API from TextGeneration WebUI #325

Closed
ramzeez88 opened this issue Oct 20, 2023 · 1 comment
Closed

Can't connect to OpenAi API from TextGeneration WebUI #325

ramzeez88 opened this issue Oct 20, 2023 · 1 comment

Comments

@ramzeez88
Copy link

when i try to use the autogen i get:
raise error.APIConnectionError(
openai.error.APIConnectionError: Error communicating with OpenAI: No connection adapters were found for '127.0.0.1:5001/v1/chat/completions'

i use gpt-engineer with TextWebUi and i don't get this error.
This is config list i use :
config_list = [{
"api_type":"open_ai",
"api_base":"127.0.0.1:5001/v1",
"api_key": "sk-111111111111111111111111111111111111111111111111"
}]
Any ideas ?

@ramzeez88
Copy link
Author

silly me . forgot to use 'http://' in the api_base. closing this now

jackgerrits pushed a commit that referenced this issue Oct 2, 2024
* Initial work porting webarena to async

* Perhaps resolved some of the eval() issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant