mirror of
https://github.com/Hopiu/llm.git
synced 2026-05-18 10:41:06 +00:00
stream defaults to True on prompt() method
This commit is contained in:
parent
49e4d688c6
commit
bc8dad1e33
1 changed files with 2 additions and 2 deletions
|
|
@ -148,12 +148,12 @@ class Model(ABC):
|
|||
self,
|
||||
prompt: Optional[str],
|
||||
system: Optional[str] = None,
|
||||
stream: bool = False,
|
||||
stream: bool = True,
|
||||
**options
|
||||
):
|
||||
return self.execute(
|
||||
Prompt(prompt, system=system, model=self, options=self.Options(**options)),
|
||||
stream=False,
|
||||
stream=stream,
|
||||
)
|
||||
|
||||
@abstractmethod
|
||||
|
|
|
|||
Loading…
Reference in a new issue