call open-webui
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:5002/v1/chat/completions"
|
target_url = "http://192.168.0.37:3911/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
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<section class="hero">
|
<section class="hero">
|
||||||
<h2 style="color: #2563eb">What is this site?</h2>
|
<h1>What is this site?</h1>
|
||||||
</section>
|
</section>
|
||||||
I write articles about Arduino, STM32 and Self-hosting. The articles are short and conceptual. It is not tutorials but more high level descriptions and general guidelines for reproducing the various things i tinker with.
|
I write articles about Arduino, STM32 and Self-hosting. The articles are short and conceptual. It is not tutorials but more high level descriptions and general guidelines for reproducing the various things i tinker with.
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user