From 8055fef113b5dfaf0d896be5fd41b893cc8cd0d9 Mon Sep 17 00:00:00 2001 From: Pavel Tisnovsky Date: Mon, 4 Aug 2025 08:40:41 +0200 Subject: [PATCH] LCORE-248: regenerated OpenAPI schema --- docs/openapi.json | 15 ++++++++++++++- docs/openapi.md | 2 ++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/openapi.json b/docs/openapi.json index 4342cc48..4108c155 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -1443,6 +1443,18 @@ ], "title": "Attachments" }, + "no_tools": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "No Tools", + "default": false + }, "media_type": { "anyOf": [ { @@ -1461,7 +1473,7 @@ "query" ], "title": "QueryRequest", - "description": "Model representing a request for the LLM (Language Model).\n\nAttributes:\n query: The query string.\n conversation_id: The optional conversation ID (UUID).\n provider: The optional provider.\n model: The optional model.\n system_prompt: The optional system prompt.\n attachments: The optional attachments.\n\nExample:\n ```python\n query_request = QueryRequest(query=\"Tell me about Kubernetes\")\n ```", + "description": "Model representing a request for the LLM (Language Model).\n\nAttributes:\n query: The query string.\n conversation_id: The optional conversation ID (UUID).\n provider: The optional provider.\n model: The optional model.\n system_prompt: The optional system prompt.\n attachments: The optional attachments.\n no_tools: Whether to bypass all tools and MCP servers (default: False).\n\nExample:\n ```python\n query_request = QueryRequest(query=\"Tell me about Kubernetes\")\n ```", "examples": [ { "attachments": [ @@ -1483,6 +1495,7 @@ ], "conversation_id": "123e4567-e89b-12d3-a456-426614174000", "model": "model-name", + "no_tools": false, "provider": "openai", "query": "write a deployment yaml for the mongodb image", "system_prompt": "You are a helpful assistant" diff --git a/docs/openapi.md b/docs/openapi.md index d02b0b77..d1c3f153 100644 --- a/docs/openapi.md +++ b/docs/openapi.md @@ -727,6 +727,7 @@ Attributes: model: The optional model. system_prompt: The optional system prompt. attachments: The optional attachments. + no_tools: Whether to bypass all tools and MCP servers (default: False). Example: ```python @@ -742,6 +743,7 @@ Example: | model | | | | system_prompt | | | | attachments | | | +| no_tools | | | | media_type | | |