flock-core 0.4.0b15__py3-none-any.whl → 0.4.0b17__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flock-core might be problematic. Click here for more details.
- flock/cli/execute_flock.py +6 -0
- flock/modules/output/output_module.py +0 -15
- {flock_core-0.4.0b15.dist-info → flock_core-0.4.0b17.dist-info}/METADATA +1 -1
- {flock_core-0.4.0b15.dist-info → flock_core-0.4.0b17.dist-info}/RECORD +7 -7
- {flock_core-0.4.0b15.dist-info → flock_core-0.4.0b17.dist-info}/WHEEL +0 -0
- {flock_core-0.4.0b15.dist-info → flock_core-0.4.0b17.dist-info}/entry_points.txt +0 -0
- {flock_core-0.4.0b15.dist-info → flock_core-0.4.0b17.dist-info}/licenses/LICENSE +0 -0
flock/cli/execute_flock.py
CHANGED
|
@@ -502,6 +502,11 @@ def execute_flock_batch(flock: Flock):
|
|
|
502
502
|
|
|
503
503
|
hide_columns = hide_columns.split(",") if hide_columns else []
|
|
504
504
|
|
|
505
|
+
delimiter = questionary.text(
|
|
506
|
+
"Delimiter (default is comma):",
|
|
507
|
+
default=",",
|
|
508
|
+
).ask()
|
|
509
|
+
|
|
505
510
|
# Logging options
|
|
506
511
|
enable_logging = questionary.confirm(
|
|
507
512
|
"Enable detailed logging?",
|
|
@@ -567,6 +572,7 @@ def execute_flock_batch(flock: Flock):
|
|
|
567
572
|
silent_mode=silent_mode,
|
|
568
573
|
write_to_csv=write_to_csv,
|
|
569
574
|
hide_columns=hide_columns,
|
|
575
|
+
delimiter=delimiter,
|
|
570
576
|
)
|
|
571
577
|
|
|
572
578
|
# Display results summary
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"""Output formatting and display functionality for agents."""
|
|
2
2
|
|
|
3
|
-
import os
|
|
4
3
|
from typing import TYPE_CHECKING, Any
|
|
5
4
|
|
|
6
5
|
from pydantic import Field
|
|
@@ -37,9 +36,6 @@ class OutputModuleConfig(FlockModuleConfig):
|
|
|
37
36
|
max_length: int = Field(
|
|
38
37
|
default=1000, description="Maximum length for displayed output"
|
|
39
38
|
)
|
|
40
|
-
output_dir: str = Field(
|
|
41
|
-
default="output/", description="Directory for saving output files"
|
|
42
|
-
)
|
|
43
39
|
truncate_long_values: bool = Field(
|
|
44
40
|
default=True, description="Whether to truncate long values in display"
|
|
45
41
|
)
|
|
@@ -196,14 +192,3 @@ class OutputModule(FlockModule):
|
|
|
196
192
|
def add_custom_formatter(self, key: str, formatter_name: str) -> None:
|
|
197
193
|
"""Add a custom formatter for a specific output key."""
|
|
198
194
|
self.config.custom_formatters[key] = formatter_name
|
|
199
|
-
|
|
200
|
-
def get_output_files(self) -> list[str]:
|
|
201
|
-
"""Get list of saved output files."""
|
|
202
|
-
if not self.config.write_to_file:
|
|
203
|
-
return []
|
|
204
|
-
|
|
205
|
-
return [
|
|
206
|
-
f
|
|
207
|
-
for f in os.listdir(self.config.output_dir)
|
|
208
|
-
if f.endswith("_output.json")
|
|
209
|
-
]
|
|
@@ -4,7 +4,7 @@ flock/cli/config.py,sha256=5DvFLObOx3ObisHnc9JfnUBnK83y0CBsUQzXfxPZve0,138
|
|
|
4
4
|
flock/cli/constants.py,sha256=ZyXtTW91P1hUMkbMwmOwp_JEL5e9-YkcuM3vHM5glP4,978
|
|
5
5
|
flock/cli/create_agent.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
|
6
6
|
flock/cli/create_flock.py,sha256=wGS3azisS0QWYIDKQswoKDDJ7B0udU2o5b2IwacMN84,8634
|
|
7
|
-
flock/cli/execute_flock.py,sha256=
|
|
7
|
+
flock/cli/execute_flock.py,sha256=yFn5D_qrNclNW8JofoBfr8UrUzWgs4wUHBeoU1pNigk,18734
|
|
8
8
|
flock/cli/load_agent.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
|
9
9
|
flock/cli/load_examples.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
|
10
10
|
flock/cli/load_flock.py,sha256=sfZ9B9aiyC5TCEbn1xR5Yd5SoaVji6MBNYzXlWOpoZ4,7111
|
|
@@ -86,7 +86,7 @@ flock/modules/callback/callback_module.py,sha256=volGGgHtY19qj1wHR6m5a_hmXSbV3Ca
|
|
|
86
86
|
flock/modules/memory/memory_module.py,sha256=bSkdFBW-Pp5ldHhXi8v4kfRM7zknfLR2fsOtbTosucI,14916
|
|
87
87
|
flock/modules/memory/memory_parser.py,sha256=FLH7GL8XThvHiCMfX3eQH7Sz-f62fzhAUmO6_gaDI7U,4372
|
|
88
88
|
flock/modules/memory/memory_storage.py,sha256=CNcLDMmvv0x7Z3YMKr6VveS_VCa7rKPw8l2d-XgqokA,27246
|
|
89
|
-
flock/modules/output/output_module.py,sha256=
|
|
89
|
+
flock/modules/output/output_module.py,sha256=tpNqkL8cB0cvikr1fmEJ-5E2SAeb-rYhht8IP90mEF0,7281
|
|
90
90
|
flock/modules/performance/metrics_module.py,sha256=UD9OjY4-zAvauMD7YyDYqE1gyIhzpdr3JkBT8j9knxY,16790
|
|
91
91
|
flock/modules/zep/zep_module.py,sha256=x7JG6O6xnwwum0RETIqKYbA3xzdcvX2aUuns0Cl0c2Q,6014
|
|
92
92
|
flock/platform/docker_tools.py,sha256=fpA7-6rJBjPOUBLdQP4ny2QPgJ_042nmqRn5GtKnoYw,1445
|
|
@@ -440,8 +440,8 @@ flock/workflow/activities.py,sha256=eVZDnxGJl_quNO-UTV3YgvTV8LrRaHN3QDAA1ANKzac,
|
|
|
440
440
|
flock/workflow/agent_activities.py,sha256=NhBZscflEf2IMfSRa_pBM_TRP7uVEF_O0ROvWZ33eDc,963
|
|
441
441
|
flock/workflow/temporal_setup.py,sha256=VWBgmBgfTBjwM5ruS_dVpA5AVxx6EZ7oFPGw4j3m0l0,1091
|
|
442
442
|
flock/workflow/workflow.py,sha256=I9MryXW_bqYVTHx-nl2epbTqeRy27CAWHHA7ZZA0nAk,1696
|
|
443
|
-
flock_core-0.4.
|
|
444
|
-
flock_core-0.4.
|
|
445
|
-
flock_core-0.4.
|
|
446
|
-
flock_core-0.4.
|
|
447
|
-
flock_core-0.4.
|
|
443
|
+
flock_core-0.4.0b17.dist-info/METADATA,sha256=E4VmDMbJkqZ3CQCVQy3KFnWGYIW6xfLfHX-wKKZpbDU,21101
|
|
444
|
+
flock_core-0.4.0b17.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
445
|
+
flock_core-0.4.0b17.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
|
|
446
|
+
flock_core-0.4.0b17.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
|
|
447
|
+
flock_core-0.4.0b17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|