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

Wenda Support #397

Closed
SunkenStar opened this issue Jun 5, 2023 · 8 comments
Closed

Wenda Support #397

SunkenStar opened this issue Jun 5, 2023 · 8 comments

Comments

@SunkenStar
Copy link

Is your feature request related to a problem? Please describe.

In Chinese document, wenda support has been mentioned. However, deploying wenda locally seems not working.
The API mode has been set to Custom and API address is set to the wenda's '/find' api.
Wenda throws the error 405 when chatGPTBox calls the api and chatGPTBox throws 'NetworkError when attempting to fetch resource.'

Describe the solution you'd like

Please add a tutorial for wenda api calling.

Additional context

I don't think the problem is related to the system, but I am running chatGPTBox on Firefox in Archlinux.

@josStorer
Copy link
Owner

the api url of wenda is http://localhost:**PORT**/completions (without /chat)

@josStorer josStorer pinned this issue Jun 5, 2023
@SunkenStar
Copy link
Author

SunkenStar commented Jun 5, 2023

Still not work. Same error.
wenda output: INFO: 127.0.0.1:40400 - "OPTIONS /completions HTTP/1.1" 405 Method Not Allowed

@josStorer
Copy link
Owner

okay, it's http://localhost:17860/api/completions

@SunkenStar
Copy link
Author

Now it turns to 500 internal server error... I could not really understand

@josStorer
Copy link
Owner

I think you may need to report your error to Wenda. Everything is working fine for me with http://localhost:17860/api/completions

@SunkenStar
Copy link
Author

ok, then I close the issue

@josStorer
Copy link
Owner

Are you using some local LLM? If you are using other modes, such as Bing, then it may be an error related to the service. Check out these links for more information: wenda-LLM/wenda#286 , wenda-LLM/wenda#59.

@SunkenStar
Copy link
Author

The LLM is a rwkv raven and I used no libraries. Maybe I should wait for wenda to solve the problem.

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

2 participants