Skip to content

Commit 723550f

Browse files
committed
Fix black issues
1 parent 413fbce commit 723550f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
3+
rev: v5.0.0
44
hooks:
55
- id: check-yaml
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.1.0
9+
rev: v0.9.7
1010
hooks:
1111
- id: ruff
1212
- repo: https://github.com/psf/black
13-
rev: 23.9.1
13+
rev: 25.1.0
1414
hooks:
1515
- id: black

function_calling_multiple.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"additionalProperties": False,
8282
},
8383
},
84-
}
84+
},
8585
]
8686

8787
response = client.chat.completions.create(
@@ -91,10 +91,10 @@
9191
{"role": "user", "content": "is it rainy enough in sydney to watch movies and which ones are on?"},
9292
],
9393
tools=tools,
94-
tool_choice="auto"
94+
tool_choice="auto",
9595
)
9696

9797
print("Response:")
9898
for message in response.choices[0].message.tool_calls:
9999
print(message.function.name)
100-
print(message.function.arguments)
100+
print(message.function.arguments)

0 commit comments

Comments
 (0)