Skip to content

Don't convert to Path again if it's already a Path in convert_traces_to_training_data()#12

Merged
armand0e merged 2 commits into
TeichAI:mainfrom
lhoestq:patch-1
Jun 18, 2026
Merged

Don't convert to Path again if it's already a Path in convert_traces_to_training_data()#12
armand0e merged 2 commits into
TeichAI:mainfrom
lhoestq:patch-1

Conversation

@lhoestq

@lhoestq lhoestq commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This seems minor but at HF we actually use xPath which supports URIs like hf://..., so this change actually enables this:

remote_path = xPath("hf://datasets/.../sessions.jsonl")
training_data = convert_traces_to_training_data(remote_path)

@armand0e armand0e merged commit 709a069 into TeichAI:main Jun 18, 2026
3 checks passed
@armand0e

Copy link
Copy Markdown
Collaborator

Changes merged. Reflected in latest version: 0.2.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants