Skip to content

Conversation

@sd-st
Copy link

@sd-st sd-st commented Nov 18, 2025

No description provided.

@sd-st sd-st requested a review from a team as a code owner November 18, 2025 20:52
Copy link
Contributor

@packyg packyg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is undesired when using toFile for the files API as that endpoint expects the filename to not be a path

I guess you could say it's caller's responsibility to name the file correctly, but I'm somewhat concerned about breaking existing use cases

@packyg packyg self-requested a review November 18, 2025 21:00
@sd-st
Copy link
Author

sd-st commented Nov 18, 2025

Yeah that is totally reasonable. It is a little tricky to do this in a way that's intuitive but also doesn't break existing code. Like we could omit stripping the file name for the skills endpoint but leave it in for other endpoints, though that may be confusing to some 🤷‍♀️

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