Removed obsolete details() method, closes #1007

This commit is contained in:
Simon Willison 2025-05-12 21:02:02 -07:00
parent e319069503
commit 9650c5de10

View file

@ -1131,13 +1131,6 @@ class _BaseChainResponse:
else:
yield from response
def details(self) -> Iterator[str]:
for thing in self.responses(details=True):
if isinstance(thing, str):
yield thing
else:
yield from thing
def text(self) -> str:
return "".join(self)