Skip to content

Add deployment path support #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2025
Merged

Add deployment path support #24

merged 1 commit into from
Jul 16, 2025

Conversation

emgarten
Copy link
Owner

No description provided.

@emgarten emgarten requested a review from Copilot July 16, 2025 23:34
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a new routing path to support model deployments in the chat completions proxy.

  • Introduces /provider/{provider}/deployments/{model}/chat/completions endpoint.
  • Delegates the new route to the existing chat_proxy handler without incorporating the model parameter.
Comments suppressed due to low confidence (1)

src/prompt_passage/proxy_app.py:65

  • No tests were provided for the new deployment-specific endpoint. Add integration or unit tests to verify that requests to /deployments/{model}/chat/completions correctly forward with the intended model parameter.
@app.post("/provider/{provider}/deployments/{model}/chat/completions")

@emgarten emgarten merged commit 6dcd111 into main Jul 16, 2025
2 checks passed
@emgarten emgarten deleted the emgarten/deployments branch July 16, 2025 23:39
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