style(fase1): ruff format spike modules

This commit is contained in:
Kjell Tore Guttormsen 2026-06-24 10:34:27 +02:00
commit c1317689f1
6 changed files with 123 additions and 26 deletions

View file

@ -137,8 +137,11 @@ class FakeChatClient(BaseChatClient):
reply = self._next_reply()
if stream:
async def _agen() -> Any:
yield ChatResponseUpdate(role="assistant", contents=[{"type": "text", "text": reply}])
yield ChatResponseUpdate(
role="assistant", contents=[{"type": "text", "text": reply}]
)
return self._build_response_stream(_agen())