Skip to content

Commit

Permalink
chore: endpoint description
Browse files Browse the repository at this point in the history
  • Loading branch information
naaive committed Dec 4, 2024
1 parent 2904429 commit 188c829
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openagent/router/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 188c829

Please sign in to comment.