You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/test-server/routers/openai.py

10 lines
217 B

from fastapi import APIRouter
from .mock.openai_mock import success_chat_completion
router = APIRouter()
@router.post("/success/chat/completions")
def success_chat_completions():
return success_chat_completion