(request : fastapi.Request)
| 86 | |
| 87 | @self.get("/.well-known/ai-plugin.json", include_in_schema=False) |
| 88 | def get_api_info(request : fastapi.Request): |
| 89 | openapi_path = str(request.url).replace("/.well-known/ai-plugin.json", "/openapi.json") |
| 90 | info = copy.deepcopy(self.api_info) |
| 91 | info["api"]["url"] = str(openapi_path) |
| 92 | return info |
nothing calls this directly
no outgoing calls
no test coverage detected