mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-24 06:09:55 +02:00
feat( FastAPI(default_response_class=ORJSONResponse)):
This commit is contained in:
@@ -2,6 +2,7 @@ import os
|
||||
from asyncio import Event, Queue
|
||||
|
||||
from fastapi import FastAPI
|
||||
from fastapi.responses import ORJSONResponse
|
||||
|
||||
tools_inbox: Queue = Queue()
|
||||
stop_event: Event = Event()
|
||||
@@ -11,7 +12,7 @@ _secrets = {}
|
||||
|
||||
def create_app() -> FastAPI:
|
||||
"""Create and configure the FastAPI application."""
|
||||
app = FastAPI()
|
||||
app = FastAPI(default_response_class=ORJSONResponse)
|
||||
return app
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
Reference in New Issue
Block a user