mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
style(backend/copilot): run black formatter on sdk/service.py
This commit is contained in:
@@ -2493,7 +2493,9 @@ async def stream_chat_completion_sdk(
|
||||
# Insert directly — pending messages are atomically-popped from
|
||||
# Redis and are never stale-cache duplicates, so the
|
||||
# maybe_append_user_message dedup is wrong here.
|
||||
session.messages.insert(insert_idx + i, ChatMessage(role="user", content=pt))
|
||||
session.messages.insert(
|
||||
insert_idx + i, ChatMessage(role="user", content=pt)
|
||||
)
|
||||
# Prepend pending texts so the model sees them in chronological
|
||||
# order: pending (queued during T1) → current (T2 user message).
|
||||
if current_message.strip():
|
||||
|
||||
Reference in New Issue
Block a user