Skip to content

Conversation

rapsealk
Copy link

@rapsealk rapsealk commented Oct 15, 2024

Hello llmperf!

This pull request suggests to use yarl, which is already included, to manipulate URL safely.

The change in this pull request, yarl.URL(address).with_path("/chat/completions"), will always result in a valid URL, whether the address ends with a trailing slash(/) or not.

Thanks in advance for your kind review!

Ref

@rapsealk
Copy link
Author

rapsealk commented Oct 27, 2024

Hi @waleedkadous! Would you mind if I ask for a review? Thanks in advance.

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.

1 participant