Rfym21 commited on
Commit
f6631ce
·
verified ·
1 Parent(s): 20339fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ def proxy_models():
124
  "data": models
125
  })
126
 
127
- @app.route('/v1/chat/completions', methods=['POST'])
128
  def handle_request():
129
  """处理聊天完成请求。"""
130
  try:
 
124
  "data": models
125
  })
126
 
127
+ @app.route('/v2/chat/completions', methods=['POST'])
128
  def handle_request():
129
  """处理聊天完成请求。"""
130
  try: