Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: vertexai support proxy url(example: cloudflare ai gateway) and fix some vertexai bug #1642

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

zijiren233
Copy link
Collaborator

@zijiren233 zijiren233 commented Jul 13, 2024

image

Copy link

codecov bot commented Jul 13, 2024

Codecov Report

Attention: Patch coverage is 0% with 28 lines in your changes missing coverage. Please review.

Project coverage is 1.29%. Comparing base (cf9b5f0) to head (ab8a568).

Files Patch % Lines
relay/adaptor/vertexai/adaptor.go 0.00% 20 Missing ⚠️
relay/adaptor/vertexai/claude/adapter.go 0.00% 8 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1642      +/-   ##
========================================
- Coverage   1.29%   1.29%   -0.01%     
========================================
  Files        142     142              
  Lines      10049   10065      +16     
========================================
  Hits         130     130              
- Misses      9905    9921      +16     
  Partials      14      14              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zijiren233 zijiren233 changed the title opt: vertexai support proxy url(example: cloudflare ai gateway) feat: vertexai support proxy url(example: cloudflare ai gateway) Jul 13, 2024
@zijiren233
Copy link
Collaborator Author

image

@zijiren233 zijiren233 changed the title feat: vertexai support proxy url(example: cloudflare ai gateway) feat: vertexai support proxy url(example: cloudflare ai gateway) and fix some vertexai bug Jul 15, 2024
@songquanpeng songquanpeng merged commit 6209ff9 into songquanpeng:main Jul 15, 2024
3 of 4 checks passed
@songquanpeng
Copy link
Owner

thx everyone

jinjianming pushed a commit to jinjianming/one-api that referenced this pull request Jul 17, 2024
…fix some vertexai bug (songquanpeng#1642)

* feat: vertexai support proxy url(example: cloudflare ai gateway)

* fix: do resp model mapping

* fix: missing system

* fix: stream need query alt=sse
mxdlzg pushed a commit to mxdlzg/one-api that referenced this pull request Oct 15, 2024
…fix some vertexai bug (songquanpeng#1642)

* feat: vertexai support proxy url(example: cloudflare ai gateway)

* fix: do resp model mapping

* fix: missing system

* fix: stream need query alt=sse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants