Open
Conversation
- Add --enterprise-url flag to auth and start commands - Interactive auth prompts for enterprise host configuration - Persist enterprise URL in ~/.local/share/copilot-api/enterprise_url - Update OAuth flows to use enterprise endpoints (device code, access token) - Update Copilot API calls to use enterprise API endpoints - Add URL normalization helpers and validation - Add comprehensive unit tests for URL helpers - Update README.md and CLAUDE.md with enterprise usage examples - Backwards compatible: defaults to github.com when no enterprise configured 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- Update copilotBaseUrl to use copilot-api.{enterprise} for GHE
- Add 6 new tests for copilotBaseUrl with enterprise configuration
- Update CLAUDE.md with correct enterprise endpoint documentation
- Fixes 'Failed to get models' error for GitHub Enterprise users
🤖 Generated with [Claude Code](https://claude.com/claude-code)
- Remove verbose documentation files - Simplify CLAUDE.md to concise format - Add CHANGELOG.md with version 0.8.0 release notes - Bump package.json version to 0.8.0
- Remove unused looksLikeHost() function and tests - Remove unnecessary type casts in url.ts - Centralize enterprise URL reading from state - Replace typeof checks with consistent function calls - Update GITHUB_BASE_URL and GITHUB_API_BASE_URL to read from state.enterpriseUrl - Remove enterpriseUrl parameters from service functions (getDeviceCode, pollAccessToken) - Update integration tests to set state.enterpriseUrl instead of passing parameters - Improve code consistency and maintainability All 64 tests passing. TypeScript compiles successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…g order when stream=false and exclude reasoning_opaque from token calculation in calculateMessageTokens
- Add signature field to AnthropicThinkingBlock - Add thinkingBlockOpen state tracking - Refactor stream translation with modular handlers - Support reasoning_opaque and reasoning_text fields - Exclude reasoning_opaque from token calculation - Set Bun server idleTimeout to 0 - Update tests for reasoning support Merged from caozhiyuan/copilot-api feature/chat-completions-reasoning branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pr creates a /metrics endpoint for grafana monitoring.