|
227 | 227 | } |
228 | 228 | }, |
229 | 229 | "name": "foo bar baz", |
| 230 | + "service": { |
| 231 | + "host": "localhost", |
| 232 | + "port": 8080, |
| 233 | + "auth_enabled": false, |
| 234 | + "workers": 1, |
| 235 | + "color_log": true, |
| 236 | + "access_log": true, |
| 237 | + "tls_config": { |
| 238 | + "tls_certificate_path": "config/certificate.crt", |
| 239 | + "tls_key_path": "config/private.key" |
| 240 | + } |
| 241 | + }, |
230 | 242 | "llama_stack": { |
231 | 243 | "url": "http://localhost:8321", |
232 | | - "api_key": "xyzzy" |
233 | | - } |
| 244 | + "api_key": "xyzzy", |
| 245 | + "use_as_library_client": false |
| 246 | + }, |
| 247 | + "user_data_collection": { |
| 248 | + "feedback_disabled": false, |
| 249 | + "feedback_storage": "/tmp/data/feedback", |
| 250 | + "transcripts_disabled": true |
| 251 | + }, |
| 252 | + "mcp_servers": [ |
| 253 | + { |
| 254 | + "name": "server1", |
| 255 | + "provider_id": "provider1", |
| 256 | + "url": "http://url.com:1" |
| 257 | + }, |
| 258 | + { |
| 259 | + "name": "server2", |
| 260 | + "provider_id": "provider2", |
| 261 | + "url": "http://url.com:2" |
| 262 | + }, |
| 263 | + { |
| 264 | + "name": "server3", |
| 265 | + "provider_id": "provider3", |
| 266 | + "url": "http://url.com:3" |
| 267 | + } |
| 268 | + ] |
| 269 | + }, |
| 270 | + "503": { |
| 271 | + "description": "Configuration can not be loaded" |
234 | 272 | } |
235 | 273 | } |
236 | 274 | } |
|
299 | 337 | } |
300 | 338 | } |
301 | 339 | } |
| 340 | + }, |
| 341 | + "/v1/streaming_query": { |
| 342 | + "post": { |
| 343 | + "tags": [ |
| 344 | + "streaming_query" |
| 345 | + ], |
| 346 | + "summary": "Streaming Query Endpoint Handler", |
| 347 | + "description": "Handle request to the /streaming_query endpoint.", |
| 348 | + "operationId": "streaming_query_endpoint_handler_v1_streaming_query_post", |
| 349 | + "requestBody": { |
| 350 | + "content": { |
| 351 | + "application/json": { |
| 352 | + "schema": { |
| 353 | + "$ref": "#/components/schemas/QueryRequest" |
| 354 | + } |
| 355 | + } |
| 356 | + }, |
| 357 | + "required": true |
| 358 | + }, |
| 359 | + "responses": { |
| 360 | + "200": { |
| 361 | + "description": "Successful Response", |
| 362 | + "content": { |
| 363 | + "application/json": { |
| 364 | + "schema": {} |
| 365 | + } |
| 366 | + } |
| 367 | + }, |
| 368 | + "422": { |
| 369 | + "description": "Validation Error", |
| 370 | + "content": { |
| 371 | + "application/json": { |
| 372 | + "schema": { |
| 373 | + "$ref": "#/components/schemas/HTTPValidationError" |
| 374 | + } |
| 375 | + } |
| 376 | + } |
| 377 | + } |
| 378 | + } |
| 379 | + } |
302 | 380 | } |
303 | 381 | }, |
304 | 382 | "components": { |
|
0 commit comments