From 188c8293b11f86b3cf754eb9c790ec088984113b Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 4 Dec 2024 17:00:53 +0800 Subject: [PATCH] chore: endpoint description --- openagent/router/openai.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openagent/router/openai.py b/openagent/router/openai.py index 11458092..d5867f60 100644 --- a/openagent/router/openai.py +++ b/openagent/router/openai.py @@ -13,7 +13,7 @@ from openagent.conf.llm_provider import get_available_providers from openagent.workflows.workflow import build_workflow -router = APIRouter(tags=["openai"]) +router = APIRouter(tags=["Completion"]) class ToolCall(BaseModel): @@ -101,8 +101,8 @@ class ChatCompletionStreamResponse(BaseModel): "/v1/chat/completions", summary="Create a chat completion", description="""Create a model response for the given chat conversation. - The endpoint first processes the chat through a workflow agent that can utilize various tools - and capabilities to provide comprehensive responses.""", + This endpoint is compatible with OpenAI's API and processes the chat through a workflow agent + that can utilize various tools and capabilities to provide comprehensive responses.""", response_model=ChatCompletionResponse, responses={ 200: {