Improve tools support in OpenaiTemplate and GeminiPro

Update models in DDG, PerplexityLabs, Gemini
Fix issues with curl_cffi in new versions
This commit is contained in:
hlohaus
2025-02-21 04:36:54 +01:00
parent c3ed6d0f8f
commit e53483d85b
33 changed files with 300 additions and 172 deletions

View File

@@ -76,7 +76,7 @@ class Backend_Api(Api):
@app.route('/', methods=['GET'])
@limiter.exempt
def home():
return render_template('demo.html')
return render_template('demo.html', backend_url=os.environ.get("G4F_BACKEND_URL", ""))
else:
@app.route('/', methods=['GET'])
def home():