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
"description": "Parameters for a Llama Stack Responses API request.\n\nAll fields accepted by the Llama Stack client responses.create() body are\nincluded so that dumped model can be passed directly to response create.",
6073
+
"properties": {
6074
+
"input": {
6075
+
"$ref": "`#/components/schemas/`ResponseInput",
6076
+
"description": "The input text or structured input items"
6077
+
},
6078
+
"model": {
6079
+
"description": "The full model ID in format \"provider/model\"",
6080
+
"title": "Model",
6081
+
"type": "string"
6082
+
},
6083
+
"conversation": {
6084
+
"description": "The conversation ID in llama-stack format",
6085
+
"title": "Conversation",
6086
+
"type": "string"
6087
+
},
6088
+
"include": {
6089
+
"type": "array",
6090
+
"nullable": true,
6091
+
"default": null,
6092
+
"description": "Output item types to include in the response",
6093
+
"title": "Include"
6094
+
},
6095
+
"instructions": {
6096
+
"type": "string",
6097
+
"nullable": true,
6098
+
"default": null,
6099
+
"description": "The resolved system prompt",
6100
+
"title": "Instructions"
6101
+
},
6102
+
"max_infer_iters": {
6103
+
"type": "integer",
6104
+
"nullable": true,
6105
+
"default": null,
6106
+
"description": "Maximum number of inference iterations",
6107
+
"title": "Max Infer Iters"
6108
+
},
6109
+
"max_output_tokens": {
6110
+
"type": "integer",
6111
+
"nullable": true,
6112
+
"default": null,
6113
+
"description": "Maximum number of tokens allowed in the response",
6114
+
"title": "Max Output Tokens"
6115
+
},
6116
+
"max_tool_calls": {
6117
+
"type": "integer",
6118
+
"nullable": true,
6119
+
"default": null,
6120
+
"description": "Maximum tool calls allowed in a single response",
6121
+
"title": "Max Tool Calls"
6122
+
},
6123
+
"metadata": {
6124
+
"type": "object",
6125
+
"nullable": true,
6126
+
"default": null,
6127
+
"description": "Custom metadata for tracking or logging",
6128
+
"title": "Metadata"
6129
+
},
6130
+
"parallel_tool_calls": {
6131
+
"type": "boolean",
6132
+
"nullable": true,
6133
+
"default": null,
6134
+
"description": "Whether the model can make multiple tool calls in parallel",
6135
+
"title": "Parallel Tool Calls"
6136
+
},
6137
+
"previous_response_id": {
6138
+
"type": "string",
6139
+
"nullable": true,
6140
+
"default": null,
6141
+
"description": "Identifier of the previous response in a multi-turn conversation",
"description": "Prepared tool groups for Responses API (same type as ResponsesRequest.tools)",
6258
+
"title": "Tools"
6259
+
},
6260
+
"extra_headers": {
6261
+
"type": "object",
6262
+
"nullable": true,
6263
+
"default": null,
6264
+
"description": "Extra HTTP headers to send with the request (e.g. x-llamastack-provider-data)",
6265
+
"title": "Extra Headers"
6266
+
},
6267
+
"omit_conversation": {
6268
+
"default": false,
6269
+
"description": "When True, the conversation parameter is dropped from the request body while remaining on the object for identity. Set by conversation compaction (LCORE-1572): once a conversation is compacted, lightspeed-stack supplies explicit input and must not let Llama Stack reload the full history via the conversation parameter.",
6270
+
"title": "Omit Conversation",
6271
+
"type": "boolean"
6272
+
}
6273
+
},
6274
+
"required": [
6275
+
"input",
6276
+
"model",
6277
+
"conversation",
6278
+
"store",
6279
+
"stream"
6280
+
],
6281
+
"title": "ResponsesApiParams",
6282
+
"type": "object"
6283
+
},
6071
6284
"ResponsesRequest": {
6072
6285
"additionalProperties": false,
6073
6286
"description": "Model representing a request for the Responses API following LCORE specification.\n\nAttributes:\n input: Input text or structured input items containing the query.\n model: Model identifier in format \"provider/model\". Auto-selected if not provided.\n conversation: Conversation ID linking to an existing conversation. Accepts both\n OpenAI and LCORE formats. Mutually exclusive with previous_response_id.\n include: Explicitly specify output item types that are excluded by default but\n should be included in the response.\n instructions: System instructions or guidelines provided to the model (acts as\n the system prompt).\n max_infer_iters: Maximum number of inference iterations the model can perform.\n max_output_tokens: Maximum number of tokens allowed in the response.\n max_tool_calls: Maximum number of tool calls allowed in a single response.\n metadata: Custom metadata dictionary with key-value pairs for tracking or logging.\n parallel_tool_calls: Whether the model can make multiple tool calls in parallel.\n previous_response_id: Identifier of the previous response in a multi-turn\n conversation. Mutually exclusive with conversation.\n prompt: Prompt object containing a template with variables for dynamic\n substitution.\n reasoning: Reasoning configuration for the response.\n safety_identifier: Safety identifier for the response.\n store: Whether to store the response in conversation history. Defaults to True.\n stream: Whether to stream the response as it is generated. Defaults to False.\n temperature: Sampling temperature controlling randomness (typically 0.0\u20132.0).\n text: Text response configuration specifying output format constraints (JSON\n schema, JSON object, or plain text).\n tool_choice: Tool selection strategy (\"auto\", \"required\", \"none\", or specific\n tool configuration).\n tools: List of tools available to the model (file search, web search, function\n calls, MCP tools). Defaults to all tools available to the model.\n generate_topic_summary: LCORE-specific flag indicating whether to generate a\n topic summary for new conversations. Defaults to True.\n shield_ids: LCORE-specific list of safety shield IDs to apply. If None, all\n configured shields are used.\n solr: Optional Solr inline RAG options (mode, filters) or legacy filter-only dict.",
0 commit comments