MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / get_api_info

Function get_api_info

bmtools/tools/serve.py:36–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected