INNER CODE UNIT · Python
get_logo
iamgreggarcia/codesherpa · localserver/main.py:87
async def get_logo():
"""
Endpoint to serve the logo file.
"""
file_path = "./localserver/logo.png"
return FileResponse(file_path, media_type="text/json")
@app.get("/.well-known/ai-plugin.json")
async def get_manifest():
"""
Endpoint to serve the manifest file.
"""
manifest = load_manifest()
return manifest
@app.get("/.well-known/openapi.json")