Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,8 @@ def forward_to_target(subpath):
|
|
28 |
|
29 |
api_key = auth_header.split(" ")[1]
|
30 |
#target_url = f"https://{subpath.split('/')[0]}"
|
31 |
-
target_url = f"https://{subpath.split('/')[
|
|
|
32 |
'''
|
33 |
model = data['model']
|
34 |
messages = data['messages']
|
|
|
28 |
|
29 |
api_key = auth_header.split(" ")[1]
|
30 |
#target_url = f"https://{subpath.split('/')[0]}"
|
31 |
+
target_url = f"https://{subpath.split('/')[0]}/v1"
|
32 |
+
print(target_url)
|
33 |
'''
|
34 |
model = data['model']
|
35 |
messages = data['messages']
|