Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/teich/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3628,7 +3628,7 @@ def _convert_jsonl_file_to_training_rows(jsonl_file: Path) -> list[dict[str, Any


def convert_traces_to_training_data(traces_dir: Path | str) -> list[dict[str, Any]]:
source = Path(traces_dir)
source = Path(traces_dir) if not isinstance(traces_dir, Path) else traces_dir
trace_files = _jsonl_files(source)
rows: list[dict[str, Any]] = []
for path in trace_files:
Expand Down
Loading