fix(ai_client): Add missing response_received events for gemini streaming and non-streaming paths
This commit is contained in:
@@ -60,7 +60,7 @@ def test_send_emits_events_proper() -> None:
|
||||
ai_client.events.on("request_start", start_callback)
|
||||
ai_client.events.on("response_received", response_callback)
|
||||
ai_client.set_provider("gemini", "gemini-2.5-flash-lite")
|
||||
ai_client.send("context", "message", stream_callback=lambda x: None)
|
||||
ai_client.send("context", "message", )
|
||||
assert start_callback.called
|
||||
assert response_callback.called
|
||||
args, kwargs = start_callback.call_args
|
||||
|
||||
Reference in New Issue
Block a user