mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
style: ruff format agentcore search transformation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
07f14617f6
commit
b1d77bb5db
1 changed files with 1 additions and 3 deletions
|
|
@ -118,9 +118,7 @@ def _iter_sse_events(text: str) -> Iterator[Mapping[str, object]]:
|
|||
progress notifications before the JSON-RPC response.
|
||||
"""
|
||||
for chunk in _SSE_EVENT_SEPARATOR.split(text):
|
||||
payload = "\n".join(
|
||||
line[len("data:") :].lstrip() for line in chunk.splitlines() if line.startswith("data:")
|
||||
)
|
||||
payload = "\n".join(line[len("data:") :].lstrip() for line in chunk.splitlines() if line.startswith("data:"))
|
||||
if not payload:
|
||||
continue
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue