Spaces:
Paused
Paused
matthoffner
commited on
Commit
·
1884418
1
Parent(s):
46a444c
Update main.py
Browse files
main.py
CHANGED
@@ -123,7 +123,9 @@ class ChatCompletionRequestMessage(BaseModel):
|
|
123 |
content: str = Field(default="", description="The content of the message.")
|
124 |
|
125 |
class ChatCompletionRequest(BaseModel):
|
126 |
-
messages: List[ChatCompletionRequestMessage]
|
|
|
|
|
127 |
|
128 |
system_message = "Below is a conversation between a human user and a helpful AI coding assistant."
|
129 |
|
|
|
123 |
content: str = Field(default="", description="The content of the message.")
|
124 |
|
125 |
class ChatCompletionRequest(BaseModel):
|
126 |
+
messages: List[ChatCompletionRequestMessage] = Field(
|
127 |
+
default=[], description="A list of messages to generate completions for."
|
128 |
+
)
|
129 |
|
130 |
system_message = "Below is a conversation between a human user and a helpful AI coding assistant."
|
131 |
|