|
6176 | 6176 | "content": { |
6177 | 6177 | "text/event-stream": { |
6178 | 6178 | "schema": { |
6179 | | - "type": "string", |
6180 | | - "format": "text/event-stream" |
| 6179 | + "type": "string" |
6181 | 6180 | }, |
6182 | 6181 | "example": "data: {\"event\": \"start\", \"data\": {\"conversation_id\": \"123e4567-e89b-12d3-a456-426614174000\", \"request_id\": \"123e4567-e89b-12d3-a456-426614174001\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 0, \"token\": \"No Violation\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 1, \"token\": \"\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 2, \"token\": \"Hello\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 3, \"token\": \"!\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 4, \"token\": \" How\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 5, \"token\": \" can\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 6, \"token\": \" I\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 7, \"token\": \" assist\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 8, \"token\": \" you\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 9, \"token\": \" today\"}}\n\ndata: {\"event\": \"token\", \"data\": {\"id\": 10, \"token\": \"?\"}}\n\ndata: {\"event\": \"turn_complete\", \"data\": {\"token\": \"Hello! How can I assist you today?\"}}\n\ndata: {\"event\": \"end\", \"data\": {\"referenced_documents\": [], \"truncated\": null, \"input_tokens\": 11, \"output_tokens\": 19}, \"available_quotas\": {}}\n\n" |
6183 | 6182 | } |
|
12048 | 12047 | "configuration" |
12049 | 12048 | ], |
12050 | 12049 | "title": "ConfigurationResponse", |
12051 | | - "description": "Success response model for the config endpoint.", |
| 12050 | + "description": "Success response model for the config endpoint.\n\nAttributes:\n configuration: Parsed application configuration returned to the client.", |
12052 | 12051 | "examples": [ |
12053 | 12052 | { |
12054 | 12053 | "configuration": { |
|
12624 | 12623 | "message" |
12625 | 12624 | ], |
12626 | 12625 | "title": "ConversationUpdateResponse", |
12627 | | - "description": "Model representing a response for updating a conversation topic summary.\n\nAttributes:\n conversation_id: The conversation ID (UUID) that was updated.\n success: Whether the update was successful.\n message: A message about the update result.\n\nExample:\n ```python\n update_response = ConversationUpdateResponse(\n conversation_id=\"123e4567-e89b-12d3-a456-426614174000\",\n success=True,\n message=\"Topic summary updated successfully\",\n )\n ```", |
| 12626 | + "description": "Model representing a response for updating a conversation topic summary.\n\nAttributes:\n conversation_id: The conversation ID (UUID) that was updated.\n success: Whether the update was successful.\n message: A message about the update result.", |
12628 | 12627 | "examples": [ |
12629 | 12628 | { |
12630 | 12629 | "conversation_id": "123e4567-e89b-12d3-a456-426614174000", |
|
13012 | 13011 | "response" |
13013 | 13012 | ], |
13014 | 13013 | "title": "FeedbackResponse", |
13015 | | - "description": "Model representing a response to a feedback request.\n\nAttributes:\n response: The response of the feedback request.\n\nExample:\n ```python\n feedback_response = FeedbackResponse(response=\"feedback received\")\n ```", |
| 13014 | + "description": "Model representing a response to a feedback request.\n\nAttributes:\n response: The response of the feedback request.", |
13016 | 13015 | "examples": [ |
13017 | 13016 | { |
13018 | 13017 | "response": "feedback received" |
|
13050 | 13049 | "status" |
13051 | 13050 | ], |
13052 | 13051 | "title": "FeedbackStatusUpdateResponse", |
13053 | | - "description": "Model representing a response to a feedback status update request.\n\nAttributes:\n status: The previous and current status of the service and who updated it.\n\nExample:\n ```python\n status_response = StatusResponse(\n status={\n \"previous_status\": true,\n \"updated_status\": false,\n \"updated_by\": \"user/test\",\n \"timestamp\": \"2023-03-15 12:34:56\"\n },\n )\n ```", |
| 13052 | + "description": "Model representing a response to a feedback status update request.\n\nAttributes:\n status: The previous and current status of the service and who updated it.", |
13054 | 13053 | "examples": [ |
13055 | 13054 | { |
13056 | 13055 | "status": { |
|
13424 | 13423 | "llama_stack_version" |
13425 | 13424 | ], |
13426 | 13425 | "title": "InfoResponse", |
13427 | | - "description": "Model representing a response to an info request.\n\nAttributes:\n name: Service name.\n service_version: Service version.\n llama_stack_version: Llama Stack version.\n\nExample:\n ```python\n info_response = InfoResponse(\n name=\"Lightspeed Stack\",\n service_version=\"1.0.0\",\n llama_stack_version=\"0.2.22\",\n )\n ```", |
| 13426 | + "description": "Model representing a response to an info request.\n\nAttributes:\n name: Service name.\n service_version: Service version.\n llama_stack_version: Llama Stack version.", |
13428 | 13427 | "examples": [ |
13429 | 13428 | { |
13430 | 13429 | "llama_stack_version": "1.0.0", |
|
13639 | 13638 | "alive" |
13640 | 13639 | ], |
13641 | 13640 | "title": "LivenessResponse", |
13642 | | - "description": "Model representing a response to a liveness request.\n\nAttributes:\n alive: If app is alive.\n\nExample:\n ```python\n liveness_response = LivenessResponse(alive=True)\n ```", |
| 13641 | + "description": "Model representing a response to a liveness request.\n\nAttributes:\n alive: If app is alive.", |
13643 | 13642 | "examples": [ |
13644 | 13643 | { |
13645 | 13644 | "alive": true |
|
13726 | 13725 | }, |
13727 | 13726 | "type": "object", |
13728 | 13727 | "title": "MCPClientAuthOptionsResponse", |
13729 | | - "description": "Response containing MCP servers that accept client-provided authorization.", |
| 13728 | + "description": "Response containing MCP servers that accept client-provided authorization.\n\nAttributes:\n servers: MCP servers that declare client authentication headers.", |
13730 | 13729 | "examples": [ |
13731 | 13730 | { |
13732 | 13731 | "servers": [ |
|
13821 | 13820 | "message" |
13822 | 13821 | ], |
13823 | 13822 | "title": "MCPServerDeleteResponse", |
13824 | | - "description": "Response for a successful MCP server deletion.", |
| 13823 | + "description": "Response for a successful MCP server deletion.\n\nAttributes:\n name: Deleted MCP server name.\n message: Status message.", |
13825 | 13824 | "examples": [ |
13826 | 13825 | { |
13827 | 13826 | "message": "MCP server 'test-mcp-server' unregistered successfully", |
|
13879 | 13878 | }, |
13880 | 13879 | "type": "object", |
13881 | 13880 | "title": "MCPServerListResponse", |
13882 | | - "description": "Response listing all registered MCP servers.", |
| 13881 | + "description": "Response listing all registered MCP servers.\n\nAttributes:\n servers: All registered MCP servers (static and dynamic).", |
13883 | 13882 | "examples": [ |
13884 | 13883 | { |
13885 | 13884 | "servers": [ |
|
14063 | 14062 | "message" |
14064 | 14063 | ], |
14065 | 14064 | "title": "MCPServerRegistrationResponse", |
14066 | | - "description": "Response for a successful MCP server registration.", |
| 14065 | + "description": "Response for a successful MCP server registration.\n\nAttributes:\n name: Registered MCP server name.\n url: Registered MCP server URL.\n provider_id: MCP provider identification.\n message: Status message.", |
14067 | 14066 | "examples": [ |
14068 | 14067 | { |
14069 | 14068 | "message": "MCP server 'mcp-integration-tools' registered successfully", |
|
16494 | 16493 | "response" |
16495 | 16494 | ], |
16496 | 16495 | "title": "PromptDeleteResponse", |
16497 | | - "description": "Result of deleting a stored prompt (always HTTP 200, like conversations v2).", |
| 16496 | + "description": "Result of deleting a stored prompt (always HTTP 200, like conversations v2).\n\nAttributes:\n prompt_id: Prompt identifier that was passed to delete.\n deleted: Whether the prompt was deleted successfully\n response: Human readable response", |
16498 | 16497 | "examples": [ |
16499 | 16498 | { |
16500 | 16499 | "label": "deleted", |
|
16573 | 16572 | "version" |
16574 | 16573 | ], |
16575 | 16574 | "title": "PromptResourceResponse", |
16576 | | - "description": "A stored prompt template as returned by Llama Stack.", |
| 16575 | + "description": "A stored prompt template as returned by Llama Stack.\n\nAttributes:\n prompt_id: Prompt identifier from Llama Stack.\n version: Version number for this prompt.\n is_default: Whether this version is the default.\n prompt: Prompt text with placeholders.\n variables: Variable names used in the template.", |
16577 | 16576 | "examples": [ |
16578 | 16577 | { |
16579 | 16578 | "is_default": true, |
|
16711 | 16710 | "additionalProperties": false, |
16712 | 16711 | "type": "object", |
16713 | 16712 | "title": "PromptsListResponse", |
16714 | | - "description": "List of stored prompt templates returned by Llama Stack.", |
| 16713 | + "description": "List of stored prompt templates returned by Llama Stack.\n\nAttributes:\n data: Prompt entries as returned by the Llama Stack list API.", |
16715 | 16714 | "examples": [ |
16716 | 16715 | { |
16717 | 16716 | "data": [ |
|
17184 | 17183 | "truncated": { |
17185 | 17184 | "type": "boolean", |
17186 | 17185 | "title": "Truncated", |
17187 | | - "description": "Deprecated:Whether conversation history was truncated", |
| 17186 | + "description": "Deprecated: whether conversation history was truncated", |
17188 | 17187 | "default": false, |
17189 | 17188 | "examples": [ |
17190 | 17189 | false, |
|
17767 | 17766 | "providers" |
17768 | 17767 | ], |
17769 | 17768 | "title": "ReadinessResponse", |
17770 | | - "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 ```", |
| 17769 | + "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.", |
17771 | 17770 | "examples": [ |
17772 | 17771 | { |
17773 | 17772 | "providers": [], |
|
19392 | 19391 | "status" |
19393 | 19392 | ], |
19394 | 19393 | "title": "StatusResponse", |
19395 | | - "description": "Model representing a response to a status request.\n\nAttributes:\n functionality: The functionality of the service.\n status: The status of the service.\n\nExample:\n ```python\n status_response = StatusResponse(\n functionality=\"feedback\",\n status={\"enabled\": True},\n )\n ```", |
| 19394 | + "description": "Model representing a response to a status request.\n\nAttributes:\n functionality: The functionality of the service.\n status: The status of the service.", |
19396 | 19395 | "examples": [ |
19397 | 19396 | { |
19398 | 19397 | "functionality": "feedback", |
|
19460 | 19459 | "message" |
19461 | 19460 | ], |
19462 | 19461 | "title": "StreamingInterruptResponse", |
19463 | | - "description": "Model representing a response to a streaming interrupt request.\n\nAttributes:\n request_id: The streaming request ID targeted by the interrupt call.\n interrupted: Whether an in-progress stream was interrupted.\n message: Human-readable interruption status message.\n\nExample:\n ```python\n response = StreamingInterruptResponse(\n request_id=\"123e4567-e89b-12d3-a456-426614174000\",\n interrupted=True,\n message=\"Streaming request interrupted\",\n )\n ```", |
| 19462 | + "description": "Model representing a response to a streaming interrupt request.\n\nAttributes:\n request_id: The streaming request ID targeted by the interrupt call.\n interrupted: Whether an in-progress stream was interrupted.\n message: Human-readable interruption status message.", |
19464 | 19463 | "examples": [ |
19465 | 19464 | { |
19466 | 19465 | "interrupted": true, |
|
0 commit comments