mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-26 17:30:24 +00:00
Removed obsolete details() method, closes #1007
This commit is contained in:
parent
e319069503
commit
9650c5de10
1 changed files with 0 additions and 7 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue