(
detailed: bool = Query(
default=False, description="Return detailed app information"
)
)
| 1056 | |
| 1057 | @app.get("/list-apps") |
| 1058 | async def list_apps( |
| 1059 | detailed: bool = Query( |
| 1060 | default=False, description="Return detailed app information" |
| 1061 | ) |
| 1062 | ) -> list[str] | ListAppsResponse: |
| 1063 | if detailed: |
| 1064 | apps_info = self.agent_loader.list_agents_detailed() |
| 1065 | return ListAppsResponse(apps=[AppInfo(**app) for app in apps_info]) |
| 1066 | return self.agent_loader.list_agents() |
| 1067 | |
| 1068 | @experimental |
| 1069 | @app.get("/apps/{app_name}/app-info", response_model_exclude_none=True) |
nothing calls this directly
no test coverage detected