Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def format_openai_response(content, finish_reason=None):
|
|
42 |
}]
|
43 |
}
|
44 |
|
45 |
-
@app.route('/
|
46 |
def chat_completions():
|
47 |
data = request.json
|
48 |
messages = data.get('messages', [])
|
|
|
42 |
}]
|
43 |
}
|
44 |
|
45 |
+
@app.route('/ok/v1/chat/completions', methods=['POST'])
|
46 |
def chat_completions():
|
47 |
data = request.json
|
48 |
messages = data.get('messages', [])
|