mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-06-21 11:51:53 +03:00
Formatting
This commit is contained in:
parent
d616230a04
commit
8453dc76af
@ -1336,9 +1336,9 @@ async def chat_completion(
|
|||||||
|
|
||||||
async def stream_body() -> Any:
|
async def stream_body() -> Any:
|
||||||
yield (
|
yield (
|
||||||
json.dumps(
|
json.dumps({"type": "messages", "messages": chain}).encode(
|
||||||
{"type": "messages", "messages": chain}
|
"utf-8"
|
||||||
).encode("utf-8")
|
)
|
||||||
+ b"\n"
|
+ b"\n"
|
||||||
)
|
)
|
||||||
# Emit the full reasoning trace up front when the
|
# Emit the full reasoning trace up front when the
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user