Skip to content

update the vllm oai client script to accept/detect modal environments#1072

Merged
charlesfrye merged 1 commit intomainfrom
charlesfrye/fix-vllm-client
Feb 11, 2025
Merged

update the vllm oai client script to accept/detect modal environments#1072
charlesfrye merged 1 commit intomainfrom
charlesfrye/fix-vllm-client

Conversation

@charlesfrye
Copy link
Copy Markdown
Collaborator

We construct the web url using information about the vLLM deployment provided by the user or their Modal configuration, but we weren't looking at environments. That lead to a surprising error for @shariqm-modal when his client hit the deployment in the main environment of the modal-labs workspace, which had been deployed with proxy authorization.

I think there might be a better way to figure out URLs with the .web_url attribute of Function, but I'm not 100% sure how to handle serve, so pushing this fix instead.

@charlesfrye
Copy link
Copy Markdown
Collaborator Author

🚀 The docs preview is ready! Check it out here: https://modal-labs-examples--frontend-preview-03c6ec1.modal.run

@charlesfrye charlesfrye merged commit 7e26ea2 into main Feb 11, 2025
7 checks passed
@charlesfrye charlesfrye deleted the charlesfrye/fix-vllm-client branch February 11, 2025 23:52
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