mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-27 19:04:25 +01:00
19 lines
494 B
Python
19 lines
494 B
Python
# generated by fastapi-codegen:
|
|
# filename: openapi.yml
|
|
# timestamp: 2023-08-07T12:14:43+00:00
|
|
|
|
from __future__ import annotations
|
|
|
|
from fastapi import FastAPI
|
|
|
|
from .db import NotFoundException
|
|
from .middlewares import not_found_exception_handler
|
|
|
|
app = FastAPI(
|
|
title="Agent Communication Protocol",
|
|
description="Specification of the API protocol for communication with an agent.",
|
|
version="v0.3",
|
|
)
|
|
|
|
app.add_exception_handler(NotFoundException, not_found_exception_handler)
|