Private
Public Access
1
0

revert to llamacpp
All checks were successful
Redeploy landing on Push / Explore-Gitea-Actions (push) Successful in 8s

This commit is contained in:
2025-12-28 16:04:59 +01:00
parent 442eccc8d0
commit b7a0fcdbdf

2
app.py
View File

@@ -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