mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-14 17:43:01 +03:00
Formatting
This commit is contained in:
+3
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user