Skip to content

Conversation

@CH3CHO
Copy link
Collaborator

@CH3CHO CH3CHO commented May 3, 2025

Ⅰ. Describe what this PR did

Support /v1/models API in ai-proxy for following provider types:

  • openai
  • moonshot
  • ollama

Ⅱ. Does this pull request fix one issue?

fixes #2117

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@CH3CHO CH3CHO requested a review from johnlanni May 3, 2025 12:08
@CH3CHO CH3CHO requested review from cr7258 and rinfx as code owners May 3, 2025 12:08
@codecov-commenter
Copy link

codecov-commenter commented May 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.73%. Comparing base (ef31e09) to head (9e7acc5).
Report is 562 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2164      +/-   ##
==========================================
+ Coverage   35.91%   45.73%   +9.82%     
==========================================
  Files          69       79      +10     
  Lines       11576    12895    +1319     
==========================================
+ Hits         4157     5897    +1740     
+ Misses       7104     6651     -453     
- Partials      315      347      +32     

see 77 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Collaborator

@johnlanni johnlanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johnlanni johnlanni merged commit 29370b1 into alibaba:main May 6, 2025
21 of 26 checks passed
@CH3CHO CH3CHO deleted the feat/ai-proxy-models branch May 6, 2025 07:53
VinceCui pushed a commit to VinceCui/higress that referenced this pull request May 21, 2025
ink-hz pushed a commit to ink-hz/higress-ai-capability-auth that referenced this pull request Nov 5, 2025
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.

higress的ai代理原生提供/v1/models接口

3 participants