Skip to content
This repository was archived by the owner on Aug 14, 2026. It is now read-only.

feat: Add PowerShell 5.1 proxy implementation - #5

Closed
mark-e-deyoung wants to merge 1 commit into
mainfrom
add-powershell-proxy-6096056678915848571
Closed

feat: Add PowerShell 5.1 proxy implementation#5
mark-e-deyoung wants to merge 1 commit into
mainfrom
add-powershell-proxy-6096056678915848571

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Contributor

Added a PowerShell 5.1 version of the Ask Sage OpenAI-compatible proxy. This allows users on Windows to run the proxy natively without Python or Docker. The implementation covers core functionality including chat completions (with streaming), models listing, and text-to-speech. Documentation for installation and usage is provided in powershell/README.md.


PR created automatically by Jules for task 6096056678915848571 started by @mark-e-deyoung

This commit introduces a PowerShell 5.1 implementation of the Ask Sage OpenAI-compatible proxy, enabling its use in Windows environments without Python or Docker.

Key changes:
- Created `powershell/AskSageProxy.ps1`: A script that implements the core proxy logic using `System.Net.HttpListener` and `System.Net.Http.HttpClient`.
  - Supports `/v1/chat/completions` (with streaming support), `/v1/models`, `/v1/models/{model}`, `/v1/audio/speech`, and `/healthz`.
  - Maps OpenAI chat messages to the Ask Sage prompt format.
  - Configured via environment variables (e.g., `ASKSAGE_API_KEY`).
- Created `powershell/README.md`: Documentation for installation, configuration, and usage of the PowerShell proxy.

Note: The `/v1/audio/transcriptions` endpoint is not implemented due to limitations with multipart/form-data in PowerShell 5.1.

Co-authored-by: mark-e-deyoung <1854350+mark-e-deyoung@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions

Copy link
Copy Markdown

Thanks for the PR. This project is invite-only and only accepts PRs from approved collaborators.

@github-actions github-actions Bot added the unapproved Issue/PR from non-collaborator label Feb 12, 2026
@github-actions github-actions Bot closed this Feb 12, 2026
@github-actions

Copy link
Copy Markdown

This repository is invite-only. Pull requests from unapproved actors or forks are automatically closed.

@github-actions github-actions Bot closed this Feb 17, 2026
@mark-e-deyoung

Copy link
Copy Markdown
Contributor Author

Closing in favor of other work. This PowerShell implementation overlaps heavily with #6 and would duplicate maintenance surface without tests in this repo.

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

Labels

unapproved Issue/PR from non-collaborator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant