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: add ai-agent plugin #1192

Merged
merged 11 commits into from
Aug 15, 2024
Merged

feat: add ai-agent plugin #1192

merged 11 commits into from
Aug 15, 2024

Conversation

xingyunyang01
Copy link
Collaborator

@xingyunyang01 xingyunyang01 commented Aug 9, 2024

Ⅰ. Describe what this PR did

Add ai-agent plugin,the first version only supports APIs where the http method is configured as GET.

Ⅱ. Does this pull request fix one issue?

fixes #1174

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@CLAassistant
Copy link

CLAassistant commented Aug 9, 2024

CLA assistant check
All committers have signed the CLA.

… information with the generalised big model configuration information, and add the path and model fields. #1174
plugins/wasm-go/extensions/ai-agent/README.md Outdated Show resolved Hide resolved
plugins/wasm-go/extensions/ai-agent/README.md Show resolved Hide resolved
plugins/wasm-go/extensions/ai-agent/main.go Outdated Show resolved Hide resolved
plugins/wasm-go/extensions/ai-agent/main.go Outdated Show resolved Hide resolved
plugins/wasm-go/extensions/ai-agent/main.go Outdated Show resolved Hide resolved
plugins/wasm-go/extensions/ai-agent/main.go Show resolved Hide resolved
plugins/wasm-go/extensions/ai-agent/main.go Outdated Show resolved Hide resolved
@hanxiantao
Copy link
Collaborator

@xingyunyang01 代码调整好了可以这里点下Re-request review
image

@hanxiantao
Copy link
Collaborator

LGTM

@codecov-commenter
Copy link

codecov-commenter commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.96%. Comparing base (ef31e09) to head (65fb5e6).
Report is 43 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1192      +/-   ##
==========================================
+ Coverage   35.91%   35.96%   +0.05%     
==========================================
  Files          69       69              
  Lines       11576     9500    -2076     
==========================================
- Hits         4157     3417     -740     
+ Misses       7104     5767    -1337     
- Partials      315      316       +1     

see 67 files with indirect coverage changes

@johnlanni johnlanni merged commit 8f7c10e into alibaba:main Aug 15, 2024
12 checks passed
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 Agent网关插件设计
5 participants