@@ -29,11 +29,11 @@ def __init__(
2929 cache : "Cache" ,
3030 * ,
3131 name : str = "default_agent" ,
32- default_rows_limit : int ,
33- default_stream_ask : bool = True ,
34- default_stream_plot : bool = False ,
35- default_lazy_threads : bool = False ,
36- default_auto_output_modality : bool = True ,
32+ rows_limit : int ,
33+ stream_ask : bool = True ,
34+ stream_plot : bool = False ,
35+ lazy_threads : bool = False ,
36+ auto_output_modality : bool = True ,
3737 ):
3838 self .__name = name
3939 self .__llm = llm .chat_model
@@ -51,11 +51,11 @@ def __init__(
5151 self .__cache = cache
5252
5353 # Pipe/thread defaults
54- self .__default_rows_limit = default_rows_limit
55- self .__default_lazy_threads = default_lazy_threads
56- self .__default_auto_output_modality = default_auto_output_modality
57- self .__default_stream_ask = default_stream_ask
58- self .__default_stream_plot = default_stream_plot
54+ self .__rows_limit = rows_limit
55+ self .__lazy_threads = lazy_threads
56+ self .__auto_output_modality = auto_output_modality
57+ self .__stream_ask = stream_ask
58+ self .__stream_plot = stream_plot
5959
6060 def _parse_context_arg (self , context : str | Path | None ) -> str | None :
6161 if context is None :
@@ -140,13 +140,13 @@ def thread(
140140 raise ValueError ("No databases or dataframes registered in this agent." )
141141 return Pipe (
142142 self ,
143- default_rows_limit = self .__default_rows_limit ,
144- default_stream_ask = stream_ask if stream_ask is not None else self .__default_stream_ask ,
145- default_stream_plot = stream_plot if stream_plot is not None else self .__default_stream_plot ,
146- lazy = lazy if lazy is not None else self .__default_lazy_threads ,
143+ rows_limit = self .__rows_limit ,
144+ stream_ask = stream_ask if stream_ask is not None else self .__stream_ask ,
145+ stream_plot = stream_plot if stream_plot is not None else self .__stream_plot ,
146+ lazy = lazy if lazy is not None else self .__lazy_threads ,
147147 auto_output_modality = auto_output_modality
148148 if auto_output_modality is not None
149- else self .__default_auto_output_modality ,
149+ else self .__auto_output_modality ,
150150 )
151151
152152 @property
0 commit comments