Skip to content

Commit 13b5d4a

Browse files
committed
style changes
1 parent 57fef4e commit 13b5d4a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ print(response.choices[0].message.content)
6767
response = client.chat.completions.create(
6868
model="meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo",
6969
messages=[{
70-
"role": "user",
70+
"role": "user",
7171
"content": [
7272
{
7373
"type": "text",
@@ -91,7 +91,7 @@ response = client.chat.completions.create(
9191
"role": "user",
9292
"content": [
9393
{
94-
"type": "text",
94+
"type": "text",
9595
"text": "Compare these two images."
9696
},
9797
{

src/together/types/endpoints.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ class BaseEndpoint(TogetherJSONModel):
8686
model: str = Field(description="The model deployed on this endpoint")
8787
type: str = Field(description="The type of endpoint")
8888
owner: str = Field(description="The owner of this endpoint")
89-
state: Literal["PENDING", "STARTING", "STARTED", "STOPPING", "STOPPED", "FAILED", "ERROR"] = (
90-
Field(description="Current state of the endpoint")
91-
)
89+
state: Literal[
90+
"PENDING", "STARTING", "STARTED", "STOPPING", "STOPPED", "FAILED", "ERROR"
91+
] = Field(description="Current state of the endpoint")
9292
created_at: datetime = Field(description="Timestamp when the endpoint was created")
9393

9494

0 commit comments

Comments
 (0)