feat: Implement portable PowerShell proxy for Ask Sage - #6
Conversation
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>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Thanks for the PR. This project is invite-only and only accepts PRs from approved collaborators. |
|
This repository is invite-only. Pull requests from unapproved actors or forks are automatically closed. |
|
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. |
Implemented a portable PowerShell version of the Ask Sage OpenAI proxy.
powershell/AskSageProxy.ps1: The main proxy script usingHttpListenerandHttpClient.powershell/SampleUsage.ps1: A sample script demonstrating how to run and query the proxy.README.mdto include instructions for the PowerShell version.-Debugswitch.PR created automatically by Jules for task 13684698734172429249 started by @mark-e-deyoung