-
Notifications
You must be signed in to change notification settings - Fork 527
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 api-workflow plugin #1229
Conversation
@lixf311 上面的CLA要签署一下 |
ok~ |
@lixf311 加一下我钉钉吧:chengtanzty |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1229 +/- ##
==========================================
+ Coverage 35.91% 44.18% +8.27%
==========================================
Files 69 76 +7
Lines 11576 9895 -1681
==========================================
+ Hits 4157 4372 +215
+ Misses 7104 5187 -1917
- Partials 315 336 +21 |
806188c
to
25f3ea0
Compare
2e11e4a
to
7df922b
Compare
LGTW |
10b299b
to
de8b786
Compare
@johnlanni 有时间的话,也帮忙再看下 |
var operators = map[string]interface{}{ | ||
"eq": func(a, b interface{}) bool { | ||
return fmt.Sprintf("%v", a) == fmt.Sprintf("%v", b) | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ne 是不是漏了?还是说其实不需要提供 ne,支持非操作就可以了,另外可以考虑支持一下 re-match,正则匹配
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
抱歉,才看到,考虑有eq就不用ne了,删除了readme里的相关描述
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. Describe what this PR did
Add ai-workflow plugin,the first version only supports tools.
Ⅱ. Does this pull request fix one issue?
fixes #1225
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews