Admin commited on
Commit
f6e244f
·
1 Parent(s): bfa61a0
Files changed (1) hide show
  1. src/api/routes.py +8 -7
src/api/routes.py CHANGED
@@ -406,7 +406,7 @@ async def root():
406
  <!DOCTYPE html>
407
  <html>
408
  <head>
409
- <title>Gemini API 代理服务</title>
410
  <style>
411
  body {{
412
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -434,20 +434,21 @@ async def root():
434
  </style>
435
  </head>
436
  <body>
437
- <h1>🤖 Gemini API 代理服务</h1>
438
 
439
  <div class="info-box">
440
  <h2>🟢 运行状态</h2>
441
  <p class="status">服务运行中</p>
442
- <p>可用API密钥数量: {len(key_manager.api_keys)}</p>
443
- <p>可用模型数量: {len(GeminiClient.AVAILABLE_MODELS)}</p>
444
  </div>
445
 
446
  <div class="info-box">
447
  <h2>⚙️ 环境配置</h2>
448
- <p>每分钟请求限制: {MAX_REQUESTS_PER_MINUTE}</p>
449
- <p>每IP每日请求限制: {MAX_REQUESTS_PER_DAY_PER_IP}</p>
450
- <p>最大重试次数: {len(key_manager.api_keys)}</p>
 
451
  </div>
452
  </body>
453
  </html>
 
406
  <!DOCTYPE html>
407
  <html>
408
  <head>
409
+ <title>Sora API 服务</title>
410
  <style>
411
  body {{
412
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 
434
  </style>
435
  </head>
436
  <body>
437
+ <h1>🤖 Sora API 服务</h1>
438
 
439
  <div class="info-box">
440
  <h2>🟢 运行状态</h2>
441
  <p class="status">服务运行中</p>
442
+ <!-- <p>可用API密钥数量: {{len(key_manager.api_keys)}}</p> -->
443
+ <!-- <p>可用模型数量: {{len(GeminiClient.AVAILABLE_MODELS)}}</p> -->
444
  </div>
445
 
446
  <div class="info-box">
447
  <h2>⚙️ 环境配置</h2>
448
+ <!-- <p>每分钟请求限制: {{MAX_REQUESTS_PER_MINUTE}}</p> -->
449
+ <!-- <p>每IP每日请求限制: {{MAX_REQUESTS_PER_DAY_PER_IP}}</p> -->
450
+ <!-- <p>最大重试次数: {{len(key_manager.api_keys)}}</p> -->
451
+ <p>Sora API Endpoints available at /v1/...</p>
452
  </div>
453
  </body>
454
  </html>