Skip to content

Commit a237f5f

Browse files
fix modify
1 parent a01b9f7 commit a237f5f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

backend/app/routers/modify.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from fastapi import APIRouter, Request, HTTPException
22
from dotenv import load_dotenv
3-
from app.services.claude_service import ClaudeService
4-
from app.core.limiter import limiter
3+
4+
# from app.services.claude_service import ClaudeService
5+
# from app.core.limiter import limiter
56
from anthropic._exceptions import RateLimitError
67
from app.prompts import SYSTEM_MODIFY_PROMPT
78
from pydantic import BaseModel
@@ -29,7 +30,7 @@ class ModifyRequest(BaseModel):
2930

3031

3132
@router.post("")
32-
@limiter.limit("2/minute;10/day")
33+
# @limiter.limit("2/minute;10/day")
3334
async def modify(request: Request, body: ModifyRequest):
3435
try:
3536
# Check instructions length

0 commit comments

Comments
 (0)