Skip to content

Tags: yuchanns/copilot-openai-api

Tags

v0.1.4

Toggle v0.1.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add GET /v1/models and /v1/models/{model} endpoints for OpenAI API co… …mpatibility (#13) * Initial plan * Add GET /v1/models endpoint with OpenAI-compatible format Co-authored-by: yuchanns <25029451+yuchanns@users.noreply.github.com> * Fix /v1/models to proxy to GitHub Copilot API instead of returning static list Co-authored-by: yuchanns <25029451+yuchanns@users.noreply.github.com> * Transform GitHub Copilot models response to OpenAI format Co-authored-by: yuchanns <25029451+yuchanns@users.noreply.github.com> * Reuse proxy() function and add GET /v1/models/{model} endpoint Co-authored-by: yuchanns <25029451+yuchanns@users.noreply.github.com> * clean code --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: yuchanns <25029451+yuchanns@users.noreply.github.com> Co-authored-by: Hanchin Hsieh <me@yuchanns.xyz>

v0.1.3

Toggle v0.1.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
remove experimental Anthropic endpoint (#11) 

v0.1.2

Toggle v0.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix refresh (#10) * fix: sleep when acquire lock failed to reduce activity * log: remove temp log

v0.1.1

Toggle v0.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[feature]: Anthropic endpoint (#9) * feat(anthropic-endpoint): add compatible `/v1/messages` * feat(anthropic-endpoint): non-streaming compatible * feat(anthropic-endpoint): non-streaming compatible * feat(anthropic-endpoint): ensure_ascii false * doc: add anthropic things

v0.1.0

Toggle v0.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Proxy embeddings API (#6) * refactor: use Depends to inject and verify auth * chore(route): rename proxy to proxy_completions * docs: update README for new /v1/embeddings endpoint and improved OpenAI compatibility task: Added /v1/embeddings endpoint to API and documented usage. Updated README to clarify chat completion and embeddings usage and refactor API sections for OpenAI compatibility. Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz> --------- Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>

v0.0.7

Toggle v0.0.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: auto-release (#4) 

v0.0.6

Toggle v0.0.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: cannot sync token to disk (#1) * enhance: improve error handling and logging for token refresh - Add detailed error handling and logging for debug purposes - Implement stale lock detection and cleanup - Use atomic file operations for token saving - Add self-write detection for file change monitoring Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz> * chore: format and lint --------- Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>

v0.0.4

Toggle v0.0.4's commit message

Verified

This commit was signed with the committer’s verified signature.
yuchanns Hanchin Hsieh
feat: better multiprocess token refresh strategy Hanchin Hsieh <me@yuchanns.xyz>