Spaces:
Sleeping
Sleeping
Update helper_functions_api.py
Browse files- helper_functions_api.py +1 -1
helper_functions_api.py
CHANGED
|
@@ -64,7 +64,7 @@ GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
|
| 64 |
HELICON_API_KEY = os.getenv("HELICON_API_KEY")
|
| 65 |
SUPABASE_USER = os.environ['SUPABASE_USER']
|
| 66 |
SUPABASE_PASSWORD = os.environ['SUPABASE_PASSWORD']
|
| 67 |
-
OPENROUTER_API_KEY = os.environ['OPENROUTER_API_KEY']
|
| 68 |
|
| 69 |
def insert_data(user_id, user_query, subtopic_query, response, html_report):
|
| 70 |
# Connect to your database
|
|
|
|
| 64 |
HELICON_API_KEY = os.getenv("HELICON_API_KEY")
|
| 65 |
SUPABASE_USER = os.environ['SUPABASE_USER']
|
| 66 |
SUPABASE_PASSWORD = os.environ['SUPABASE_PASSWORD']
|
| 67 |
+
OPENROUTER_API_KEY = "sk-or-v1-"+os.environ['OPENROUTER_API_KEY']
|
| 68 |
|
| 69 |
def insert_data(user_id, user_query, subtopic_query, response, html_report):
|
| 70 |
# Connect to your database
|