Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nghyane/copilot-api
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: righttang/copilot-api
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 13 files changed
  • 3 contributors

Commits on Jun 10, 2025

  1. feat: enhance tokenizer and add tool support

    - Improve tokenizer to handle complex message types (tool calls, content parts)
    - Add comprehensive tool support to chat completions
    - Add better error handling for unsupported features
    - Add null safety checks for message processing
    “nghyane”
    “nghyane” committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    3045552 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2025

  1. fix: resolve Anthropic streaming response parsing issue

    Fixed streaming response handler in TypeScript implementation to properly parse chunks from fetch-event-stream library. The issue was that the library returns objects with a .data property containing the actual SSE data, but the original parser only handled string or direct object formats.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    righttang-post and claude committed Jun 15, 2025
    Configuration menu
    Copy the full SHA
    c367a93 View commit details
    Browse the repository at this point in the history
  2. docs: update README with Claude Code integration info

    - Remove ko-fi support section
    - Add dedicated Claude Code integration section with setup instructions
    - Document how to configure Claude Code to use this proxy with environment variables
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    righttang-post and claude committed Jun 15, 2025
    Configuration menu
    Copy the full SHA
    84a4488 View commit details
    Browse the repository at this point in the history
  3. docs: remove npx usage and update start command

    - Remove all npx-related sections since the package is no longer available
    - Update Claude Code start command to use bun run dev start --port 4143 --business --verbose
    - Update all example commands to use bun run dev instead of npx
    - Keep Docker section for alternative deployment option
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    righttang-post and claude committed Jun 15, 2025
    Configuration menu
    Copy the full SHA
    054ae8a View commit details
    Browse the repository at this point in the history
  4. docs: add complete Claude Code environment configuration

    - Add ANTHROPIC_MODEL=claude-sonnet-4 environment variable
    - Add set -e CLAUDE_CODE_USE_BEDROCK to disable Bedrock usage
    - Update configuration instructions for complete Claude Code setup
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    righttang-post and claude committed Jun 15, 2025
    Configuration menu
    Copy the full SHA
    143709e View commit details
    Browse the repository at this point in the history
  5. feat: improve model selection and remove lint hooks

    - Enhance selectCopilotModel to prioritize exact matches before falling back to claude-3.7-sonnet
    - Remove pre-commit lint hooks to streamline development workflow
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    righttang-post and claude committed Jun 15, 2025
    Configuration menu
    Copy the full SHA
    014fb97 View commit details
    Browse the repository at this point in the history
  6. chore: remove unused files

    Remove .env.example and main.py as they are no longer needed.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    righttang-post and claude committed Jun 15, 2025
    Configuration menu
    Copy the full SHA
    65581c1 View commit details
    Browse the repository at this point in the history
  7. docs: add comprehensive API endpoints documentation

    Document all implemented endpoints including OpenAI-compatible and Anthropic-compatible routes with descriptions and HTTP methods.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    righttang-post and claude committed Jun 15, 2025
    Configuration menu
    Copy the full SHA
    57a8c0d View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2025

  1. feat: enhance Copilot token management with improved logging and erro…

    …r handling
    
    - Introduced a utility function to format timestamps for better log readability.
    - Implemented a mechanism to track refresh failures and log detailed error messages.
    - Added checks for multiple refresh failures to prompt users about potential GitHub token expiration.
    
    This update improves the reliability and transparency of the Copilot token refresh process.
    righttang-post committed Jun 18, 2025
    Configuration menu
    Copy the full SHA
    a9fe534 View commit details
    Browse the repository at this point in the history
Loading