Skip to content

Commit

Permalink
Default stream to config value
Browse files Browse the repository at this point in the history
  • Loading branch information
collindutter committed Aug 13, 2024
1 parent 1ff7e88 commit d179821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion griptape/structures/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Agent(Structure):
input: str | list | tuple | BaseArtifact | Callable[[BaseTask], BaseArtifact] = field(
default=lambda task: task.full_context["args"][0] if task.full_context["args"] else TextArtifact(value=""),
)
stream: bool = field(default=False, kw_only=True)
stream: bool = field(default=Factory(lambda: config.drivers.prompt.stream), kw_only=True)
prompt_driver: BasePromptDriver = field(default=Factory(lambda: config.drivers.prompt), kw_only=True)
tools: list[BaseTool] = field(factory=list, kw_only=True)
max_meta_memory_entries: Optional[int] = field(default=20, kw_only=True)
Expand Down

0 comments on commit d179821

Please sign in to comment.