tyx022898
tyx022898
**Version**: openai 3.46.0 (also `main` as of 2026-11-09), `src/openai/_streaming.py` **What happens** `AsyncStream.__aiter__` is an async generator that delegates to `self._iterator`, and `_iter_events` iterates `self._decoder.aiter_bytes(self.response.aiter_bytes())` without closing either inner iterator. `AsyncStream.close()`...
The Python Strands adapter exposes request-scoped invocation state through `StrandsAgent.run`. Applications using the same entry point also need to set a native model-turn limit, cancel an invocation with its server-owned...
**Package**: strands-agents (Python) 1.64.0, `strands/_context_manager/context_manager.py` **What happens** After a context strategy changes the history, `ContextManager` recomputes utilization with `agent.model.count_tokens(messages)` only, without the tool specs or the system prompt that the...
**Package**: strands-agents (Python) 1.64.0, `strands/models/openai_responses.py` **What happens** `OpenAIResponsesModel.stream` does `response = await client.responses.create(**request)` and then iterates `response`, but never enters the stream's context. When the caller stops early (closes the...