mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-10 07:38:04 -05: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)
|