API: Don't use response_class
This arg in routes caused many errors and isn't even needed for responses. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
b625bface9
commit
4670a77c26
3 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import pathlib
|
||||
from OAI.types.completions import CompletionResponse, CompletionRespChoice
|
||||
from OAI.types.common import UsageStats
|
||||
from OAI.types.models import ModelList, ModelCard
|
||||
from OAI.types.model import ModelList, ModelCard
|
||||
from typing import Optional
|
||||
|
||||
def create_completion_response(text: str, index: int, model_name: Optional[str]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue