Spaces:
Sleeping
Sleeping
Commit
·
56d3b84
1
Parent(s):
85c8196
fixed auth token
Browse files
main.py
CHANGED
|
@@ -167,7 +167,7 @@ async def chat_completions(
|
|
| 167 |
headers = {
|
| 168 |
'accept': '*/*',
|
| 169 |
'accept-language': 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,zh-TW;q=0.6,ja;q=0.5',
|
| 170 |
-
'authorization':
|
| 171 |
'content-type': 'application/json',
|
| 172 |
'origin': 'https://flowith.net',
|
| 173 |
'priority': 'u=1, i',
|
|
|
|
| 167 |
headers = {
|
| 168 |
'accept': '*/*',
|
| 169 |
'accept-language': 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,zh-TW;q=0.6,ja;q=0.5',
|
| 170 |
+
'authorization': FLOWITH_AUTH_TOKEN, # Send only the token, no "Bearer " prefix
|
| 171 |
'content-type': 'application/json',
|
| 172 |
'origin': 'https://flowith.net',
|
| 173 |
'priority': 'u=1, i',
|