EmeraldCreator commited on
Commit
18fa2ce
·
verified ·
1 Parent(s): 2d73dda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import json
5
 
6
  def get_answer(text, api_key):
7
  # Прямая связь с OpenRouter
8
- url = "https://openrouter.ai"
9
 
10
  headers = {
11
  "Authorization": f"Bearer {api_key}",
 
5
 
6
  def get_answer(text, api_key):
7
  # Прямая связь с OpenRouter
8
+ url = "https://openrouter.ai/api/v1/chat/completions"
9
 
10
  headers = {
11
  "Authorization": f"Bearer {api_key}",