独立 copilot 服务

This commit is contained in:
2026-03-27 13:52:12 +08:00
parent 0196206ed3
commit 93cbd7e7b3
58 changed files with 9 additions and 3380 deletions
-4
View File
@@ -60,12 +60,8 @@ class AuditMiddleware(BaseHTTPMiddleware):
"/meta/projects",
"/api/v1/openproject/",
"/openproject/",
"/api/v1/copilot/chat/",
"/api/v1/copilot/chat/stream",
}
EXCLUDED_PATH_PREFIXES = (
"/api/v1/copilot/chat/",
"/copilot/chat/",
)
async def dispatch(self, request: Request, call_next: Callable) -> Response: