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

feat: Implement portable PowerShell proxy for Ask Sage - #6

Closed
mark-e-deyoung wants to merge 1 commit into
mainfrom
powershell-proxy-impl-13684698734172429249
Closed

feat: Implement portable PowerShell proxy for Ask Sage#6
mark-e-deyoung wants to merge 1 commit into
mainfrom
powershell-proxy-impl-13684698734172429249

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Contributor

Implemented a portable PowerShell version of the Ask Sage OpenAI proxy.

  • Created powershell/AskSageProxy.ps1: The main proxy script using HttpListener and HttpClient.
  • Created powershell/SampleUsage.ps1: A sample script demonstrating how to run and query the proxy.
  • Updated README.md to include instructions for the PowerShell version.
  • Ensured compatibility with Windows PowerShell 5.1 and PowerShell Core.
  • Implemented custom multipart/form-data parsing to handle file uploads without external dependencies.
  • Added debug logging via -Debug switch.
  • Verified functionality with local test scripts.

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

This adds a portable PowerShell implementation of the Ask Sage OpenAI-compatible proxy.
It supports Windows PowerShell 5.1+ and PowerShell Core (pwsh) on Linux/Windows.

Features:
- /healthz endpoint
- /v1/models endpoint
- /v1/chat/completions endpoint (with streaming)
- /v1/audio/speech endpoint
- /v1/audio/transcriptions endpoint (with custom multipart parser)
- Portable execution without admin privileges (binds to localhost on Windows, * on Linux).
- Sample usage script provided.

This implementation allows users to run the proxy without Python or Docker dependencies.

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 17, 2026
@github-actions github-actions Bot closed this Feb 17, 2026
@github-actions

Copy link
Copy Markdown

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

@mark-e-deyoung

Copy link
Copy Markdown
Contributor Author

Closing for now. This adds a large new PowerShell server implementation and multipart parser without corresponding test coverage; we should revisit as smaller, test-backed changes if we prioritize PowerShell support.

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