revert to llamacpp
All checks were successful
Redeploy landing on Push / Explore-Gitea-Actions (push) Successful in 8s
All checks were successful
Redeploy landing on Push / Explore-Gitea-Actions (push) Successful in 8s
This commit is contained in:
2
app.py
2
app.py
@@ -50,7 +50,7 @@ def about():
|
|||||||
return render_template('about.html')
|
return render_template('about.html')
|
||||||
@app.route('/proxy-chat', methods=['POST'])
|
@app.route('/proxy-chat', methods=['POST'])
|
||||||
def proxy_chat():
|
def proxy_chat():
|
||||||
target_url = "http://192.168.0.37:3911/v1/chat/completions"
|
target_url = "http://192.168.0.37:5002/v1/chat/completions"
|
||||||
|
|
||||||
# Ensure 'stream' is set to True for the backend
|
# Ensure 'stream' is set to True for the backend
|
||||||
payload = request.json
|
payload = request.json
|
||||||
|
|||||||
Reference in New Issue
Block a user