()
| 34 | |
| 35 | @t.api.get("/.well-known/ai-plugin.json", include_in_schema=False) |
| 36 | def get_api_info(): |
| 37 | return { |
| 38 | "schema_version": "v1", |
| 39 | "name_for_human": "BMTools", |
| 40 | "name_for_model": "BMTools", |
| 41 | "description_for_human": "tools to big models", |
| 42 | "description_for_model": "tools to big models", |
| 43 | "auth": { |
| 44 | "type": "none", |
| 45 | }, |
| 46 | "api": { |
| 47 | "type": "openapi", |
| 48 | "url": "/openapi.json", |
| 49 | "is_user_authenticated": False, |
| 50 | }, |
| 51 | "logo_url": None, |
| 52 | "contact_email": "", |
| 53 | "legal_info_url": "", |
| 54 | } |
| 55 | |
| 56 | @t.api.post("/retrieve") |
| 57 | def retrieve(request: RetrieveRequest): |
nothing calls this directly
no outgoing calls
no test coverage detected