Skip to content

Commit

Permalink
making-stream-false-as-default-across-agent-class-phi-1244
Browse files Browse the repository at this point in the history
  • Loading branch information
ysolanky committed Sep 19, 2024
1 parent 814903f commit d5d47fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions phi/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ async def _arun(
self,
message: Optional[Union[List, Dict, str]] = None,
*,
stream: bool = True,
stream: bool = False,
images: Optional[List[Union[str, Dict]]] = None,
messages: Optional[List[Union[Dict, Message]]] = None,
**kwargs: Any,
Expand Down Expand Up @@ -1345,7 +1345,7 @@ async def arun(
self,
message: Optional[Union[List, Dict, str]] = None,
*,
stream: bool = True,
stream: bool = False,
images: Optional[List[Union[str, Dict]]] = None,
messages: Optional[List[Union[Dict, Message]]] = None,
**kwargs: Any,
Expand Down Expand Up @@ -1640,7 +1640,7 @@ def print_response(
message: Optional[Union[List, Dict, str]] = None,
*,
messages: Optional[List[Union[Dict, Message]]] = None,
stream: bool = True,
stream: bool = False,
markdown: bool = False,
show_message: bool = True,
**kwargs: Any,
Expand Down Expand Up @@ -1711,7 +1711,7 @@ async def async_print_response(
self,
message: Optional[Union[List, Dict, str]] = None,
messages: Optional[List[Union[Dict, Message]]] = None,
stream: bool = True,
stream: bool = False,
markdown: bool = False,
show_message: bool = True,
**kwargs: Any,
Expand Down Expand Up @@ -1782,7 +1782,7 @@ def cli_app(
message: Optional[str] = None,
user: str = "User",
emoji: str = ":sunglasses:",
stream: bool = True,
stream: bool = False,
markdown: bool = False,
exit_on: Optional[List[str]] = None,
**kwargs: Any,
Expand Down

0 comments on commit d5d47fe

Please sign in to comment.