You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/openapi.json
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1718,11 +1718,18 @@
1718
1718
"properties": {
1719
1719
"provider_id": {
1720
1720
"type": "string",
1721
-
"title": "Provider Id"
1721
+
"title": "Provider Id",
1722
+
"description": "The ID of the provider"
1722
1723
},
1723
1724
"status": {
1724
1725
"type": "string",
1725
-
"title": "Status"
1726
+
"title": "Status",
1727
+
"description": "The health status",
1728
+
"examples": [
1729
+
"ok",
1730
+
"unhealthy",
1731
+
"not_implemented"
1732
+
]
1726
1733
},
1727
1734
"message": {
1728
1735
"anyOf": [
@@ -1733,7 +1740,12 @@
1733
1740
"type": "null"
1734
1741
}
1735
1742
],
1736
-
"title": "Message"
1743
+
"title": "Message",
1744
+
"description": "Optional message about the health status",
1745
+
"examples": [
1746
+
"All systems operational",
1747
+
"Llama Stack is unavailable"
1748
+
]
1737
1749
}
1738
1750
},
1739
1751
"type": "object",
@@ -1980,7 +1992,7 @@
1980
1992
"providers"
1981
1993
],
1982
1994
"title": "ReadinessResponse",
1983
-
"description": "Model representing response to a readiness request.\n\nAttributes:\n ready: If service is ready.\n reason: The reason for the readiness.\n providers: List of unhealthy providers in case of readiness failure.\n\nExample:\n ```python\n readiness_response = ReadinessResponse(\n ready=False,\n reason=\"Service is not ready\",\n providers=[\n ProviderHealthStatus(\n provider_id=\"ollama\",\n status=\"Error\",\n message=\"Server is unavailable\"\n )\n ]\n )\n ```",
1995
+
"description": "Model representing response to a readiness request.\n\nAttributes:\n ready: If service is ready.\n reason: The reason for the readiness.\n providers: List of unhealthy providers in case of readiness failure.\n\nExample:\n ```python\n readiness_response = ReadinessResponse(\n ready=False,\n reason=\"Service is not ready\",\n providers=[\n ProviderHealthStatus(\n provider_id=\"ollama\",\n status=\"unhealthy\",\n message=\"Server is unavailable\"\n )\n ]\n )\n ```",
0 commit comments