mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-14 02:28:06 -07:00
Error handling
This commit is contained in:
parent
6671196ec8
commit
6f49915d2a
3 changed files with 9 additions and 4 deletions
|
@ -4,7 +4,7 @@ from pydantic import BaseModel
|
|||
|
||||
|
||||
class OpenAIinput(BaseModel):
|
||||
model: str
|
||||
model: str = "fastertransformer"
|
||||
prompt: Optional[str]
|
||||
suffix: Optional[str]
|
||||
max_tokens: Optional[int] = 16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue