-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: digiogithub/github-copilot-svcs
base: main
head repository: privapps/github-copilot-svcs
compare: main
- 12 commits
- 26 files changed
- 2 contributors
Commits on Sep 22, 2025
-
Add model filtering, error handling, and config enhancements
Introduces support for filtering allowed models in API endpoints using the `allowed_models` configuration. Improves error handling by replacing string matching with structured error types. Updates logging to include model information when available. Refactors configuration validation for better modularity and adds tests for `allowed_models` behavior and proxy rejection of disallowed models. Enhances middleware to log request details and integrates support for `/v1/completions` endpoint. Removes unused dependencies from `go.mod` and adjusts Dockerfile to use a consistent command for starting the service.
privapps committedSep 22, 2025 Configuration menu - View commit details
-
Copy full SHA for c1aacb3 - Browse repository at this point
Copy the full SHA c1aacb3View commit details
Commits on Oct 8, 2025
-
Update README to enhance model filtering section and clarify availabl…
…e models
privapps committedOct 8, 2025 Configuration menu - View commit details
-
Copy full SHA for 0be246b - Browse repository at this point
Copy the full SHA 0be246bView commit details -
Enhance release workflow by uploading artifacts and organizing them f…
…or the release process
privapps committedOct 8, 2025 Configuration menu - View commit details
-
Copy full SHA for 0c66b4b - Browse repository at this point
Copy the full SHA 0c66b4bView commit details -
ci.yml: Remove 'main' branch from push trigger
privapps committedOct 8, 2025 Configuration menu - View commit details
-
Copy full SHA for 18a2565 - Browse repository at this point
Copy the full SHA 18a2565View commit details
Commits on Feb 19, 2026
-
Add vision support to README and proxy implementation:
1. **README Update**: - Added vision support feature with details on handling base64-encoded images in OpenAI-compatible format. - Included an example script (`test_vision_proxy.sh`) for testing vision capabilities. 2. **Proxy Implementation**: - Refactored constants to variables for flexibility in `proxy.go`. - Improved JSON unmarshalling and model validation logic (`AllowedModels`) for better error handling. - Code formatting adjustments for consistency.
privapps committedFeb 19, 2026 Configuration menu - View commit details
-
Copy full SHA for a12a39c - Browse repository at this point
Copy the full SHA a12a39cView commit details
Commits on Feb 20, 2026
-
Skip TestHeaderForwardingProxy in CI environments
The TestHeaderForwardingProxy test cannot run in CI because copilotAPIBase is hardcoded and cannot be overridden to inject a test server URL. Changes: - Add CI environment detection (CI or GITHUB_ACTIONS env vars) - Skip test automatically in CI with clear explanation - Test still runs locally for development/debugging This allows the test to remain in the codebase for future use while preventing CI failures. When infrastructure changes allow API base URL injection, the skip condition can be removed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 377eea3 - Browse repository at this point
Copy the full SHA 377eea3View commit details -
Merge: Skip TestHeaderForwardingProxy in CI environments
privapps committedFeb 20, 2026 Configuration menu - View commit details
-
Copy full SHA for ca3a1cf - Browse repository at this point
Copy the full SHA ca3a1cfView commit details
Commits on Feb 25, 2026
-
- Update
README.mdto include details about limitations and support…… for vision/image capabilities in GitHub Copilot accounts. - Add `test_vision_proxy.sh` script to test vision capabilities through the proxy, including image encoding, request payload creation, and response handling.
privapps committedFeb 25, 2026 Configuration menu - View commit details
-
Copy full SHA for 600b3ba - Browse repository at this point
Copy the full SHA 600b3baView commit details -
Merge branch 'dev' of https://github.com/privapps/github-copilot-svcs …
…into dev
privapps committedFeb 25, 2026 Configuration menu - View commit details
-
Copy full SHA for be2270e - Browse repository at this point
Copy the full SHA be2270eView commit details
Commits on Jul 11, 2026
-
fix: Document the new Responses API and model-specific routing so the…
… proxy docs and tooling stay aligned with the current supported endpoints. - Added `/v1/responses` to the documented OpenAI-compatible API surface alongside `/v1/chat/completions` and `/v1/models`. - Introduced a dedicated “Responses API” example for GPT-5.x-style models using the correct request shape (`input`, `max_output_tokens`). - Updated the chat completions example to use a current model name (`gpt-4.1`) instead of the older sample value. - Reworked the Model Mapping section to split models by endpoint type: - Chat Completions models for `/v1/chat/completions` - Responses API models for `/v1/responses` - Clarified that each model now carries an `api_type` field, and added guidance to use `/v1/models` to determine the correct endpoint. - Refreshed the supported model examples to reflect the newer OpenAI, Anthropic, and Google model families shown in the proxy documentation. - Expanded the testing / usage examples to include: - listing available models via `GET /v1/models` - testing `POST /v1/chat/completions` - testing `POST /v1/responses` - Removed the obsolete `version: "2"` key from `.golangci.yml` to match the current linter config format. - Impact: - Improves documentation accuracy for current API behavior. - Reduces confusion over which models should use chat completions vs responses. - Makes it easier for users to verify model availability and choose the correct endpoint. - Keeps lint configuration clean and compatible with the latest tooling expectations.
privapps committedJul 11, 2026 Configuration menu - View commit details
-
Copy full SHA for 29ebb60 - Browse repository at this point
Copy the full SHA 29ebb60View commit details
Commits on Jul 14, 2026
-
fix: Pin golangci-lint config to v2 schema to keep linting compatible…
… with current tooling - Added `version: "2"` to `.golangci.yml` to explicitly use the v2 config format. - Keeps the linter configuration aligned with the expected schema and avoids version-related parsing issues. - No lint rules were changed; existing enabled linters remain the same. - Impact: improves config clarity and future compatibility without affecting application code or behavior.
privapps committedJul 14, 2026 Configuration menu - View commit details
-
Copy full SHA for 6c98737 - Browse repository at this point
Copy the full SHA 6c98737View commit details -
fix: Prevent invalid or overlapping release runs by verifying code be…
…fore publishing and pinning workflow actions - Added workflow-level `concurrency` to prevent multiple release runs on the same ref from executing at the same time. - Introduced a new `verify` job that runs before release work: - checks out the repository - sets up Go 1.23 - downloads module dependencies - runs `go test -v -race ./...` - runs `golangci-lint` v2.1 - Made the `release` job depend on `verify`, so release versioning only continues after tests and lint pass. - Updated GitHub Actions references to pinned commit SHAs for: - `actions/checkout` - `actions/setup-go` - `actions/upload-artifact` - `docker/setup-buildx-action` - `docker/login-action` - Removed the `create-release` job that previously downloaded artifacts and created the GitHub Release in this workflow. - Simplified the `docker` job dependency chain to depend only on `release`. - Impact: - improves release safety by blocking broken code earlier - reduces risk of duplicate or conflicting release runs - makes workflow execution more reproducible and secure through pinned action versions - changes release publication flow by removing in-workflow GitHub Release creation
privapps committedJul 14, 2026 Configuration menu - View commit details
-
Copy full SHA for 421ac85 - Browse repository at this point
Copy the full SHA 421ac85View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main