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

Add http optional enable for API request #72

Open
1 task
lucasjinreal opened this issue Jun 25, 2023 · 2 comments
Open
1 task

Add http optional enable for API request #72

lucasjinreal opened this issue Jun 25, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@lucasjinreal
Copy link

Describe the feature

Am current test on my own chat models but with same openai API.

on terminal, the request is ok, the model runs on another PC both in a same LAN.

image

But anse app not able to get connected, obvious this is because of https cert invalid.

How to solve in such situation?

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.
@lucasjinreal lucasjinreal added the enhancement New feature or request label Jun 25, 2023
@ddiu8081
Copy link
Member

ddiu8081 commented Jul 5, 2023

Are you requesting LAN(http) from anse.app(https)? If this, the request may not be sent properly due to security restrictions.

You can choose to run the anse instance locally, or add a reverse proxy for the LAN api.

@lucasjinreal
Copy link
Author

@ddiu8081 I directly changed the anse source code run npm run dev, seems also can not request, but some other react app can do.

I am new in frontend, could u provide a suggestion on how does http can work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants