This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Description
The documentation doesn't make it clear that EventLogger in src/llama_stack_client/lib/agents/event_logger.py only works with streaming responses. For example, if you play with this getting started example for llama-stack, where you change the stream argument for agent.create_turn() to False, you'll get an exception in the logger call.
It would be nice if the logger could handle non-streaming responses. At the very least, clearly documenting the current behavior somewhere would save new users some wasted time trying to debug crashes. This should be done in at least two places: https://github.com/llamastack/llama-stack-client-python/blob/main/api.md (or a better readthedocs site for the client!) and in llama-stack example code that uses this API.