Skip to content

[CORRECTION] Event type related to throttling not documented #67

@didier-durand

Description

@didier-durand

Documentation Location

https://strandsagents.com/0.1.x/user-guide/concepts/streaming/async-iterators/?h=start_event_loop#event-types

Current Content

When running some tests with Claude Sonnet V4, I get the following event in the AsyncGenerator for events:

{'event_loop_throttled_delay': 4, 'event_loop_metrics': EventLoopMetrics(cycle_count=1, tool_metrics={}, cycle_durations=[], traces=[<strands.telemetry.metrics.Trace object at 0x1101a3830>], accumulated_usage={'inputTokens': 0, 'outputTokens': 0, 'totalTokens': 0}, accumulated_metrics={'latencyMs': 0}), 'agent': <strands.agent.agent.Agent object at 0x1101521e0>, 'event_loop_parent_span': None, 'event_loop_cycle_id': UUID('c1c8d6b2-73c5-4c43-b097-6c7b169b9c64'), 'request_state': {}, 'event_loop_cycle_trace': <strands.telemetry.metrics.Trace object at 0x1101a3830>, 'event_loop_cycle_span': None}

This doesn't match any of documented types in the page mentioned above

Correction Needed

The documentation has to be updated to reflect this additional type of events.

Supporting Evidence

The published documentation doesn't mention throttling events:

https://strandsagents.com/0.1.x/user-guide/concepts/streaming/async-iterators/?h=start_event_loop#event-types

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions